[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [PATCH 1/2] kernel: Make >>#new/>>#new: go through
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] [PATCH 1/2] kernel: Make >>#new/>>#new: go through >>#initialize |
Date: |
Sat, 2 Aug 2014 12:27:59 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Aug 01, 2014 at 09:04:53PM +0200, Holger Hans Peter Freyther wrote:
Hi,
> a.) VMpr_Behavior_basicNewInitialize will lookup_selector (cache) and
> notice that Object>>#initialize is an empty method and we can skip the
> call.
no soemthing else is odd/wrong with the VM. I added an initializer for
_gst_initialize_symbol but the code that initializes the symbols doesn't
check if it is present or not. This is why
_gst_send_message_internal(_gst_initialize_symbol, 0, result,
OOP_CLASS(result));
failed as we had two symbols for 'initialize'. This is because initialize
will already occur inside the _gst_builtin_selector_names. :}
holger