Hi
I would like to know in which case I should use the above message.
#fetchLong32: ofObject: #fetchPointer: ofObject: #fetchByte: ofObject:
Last time I used fetchByte to get a pointer and it work. I think that fetchPointer should be more apropriate. and fetchLong32 should work too in a 32bit VM?
I notice also some other message like: #fetchArray: ofObject: #fetchFloat: ofObject: #fetchInteger: ofObject: but nobody seems to use it
I also wonder why they do not depend on the object header. So Header of all object have the sae size?
Also can you explain what the object header is composed? Especialy for the special one: CompiledMethod or may be MethodDictionary...
Thanks taking time to answer my questions.
Mth
On 24-Jul-07, at 24-Jul;2:06 PM, Mathieu Suen wrote:
Hi
I would like to know in which case I should use the above message.
[snip]
Sounds to me like you might find answers to quite a few questions in http://www.rowledge.org/tim/squeak/OE-Tour.html - and any that you don't find, let me know just in case I decide to finally rewrite/ extend the article.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: EFBI: Emulate Five-volt Battery Intermittently
Thanks a lot Mth
On Jul 24, 2007, at 11:54 PM, tim Rowledge wrote:
On 24-Jul-07, at 24-Jul;2:06 PM, Mathieu Suen wrote:
Hi
I would like to know in which case I should use the above message.
[snip]
Sounds to me like you might find answers to quite a few questions in http://www.rowledge.org/tim/squeak/OE-Tour.html - and any that you don't find, let me know just in case I decide to finally rewrite/extend the article.
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: EFBI: Emulate Five-volt Battery Intermittently
certainly also important to know are the relevant chapters in the blue book: http://users.ipa.net/~dwighth/smalltalk/bluebook/bluebook_imp_toc.html
Adrian
On Jul 24, 2007, at 23:58 , Mathieu Suen wrote:
Thanks a lot Mth
On Jul 24, 2007, at 11:54 PM, tim Rowledge wrote:
On 24-Jul-07, at 24-Jul;2:06 PM, Mathieu Suen wrote:
Hi
I would like to know in which case I should use the above message.
[snip]
Sounds to me like you might find answers to quite a few questions in http://www.rowledge.org/tim/squeak/OE-Tour.html - and any that you don't find, let me know just in case I decide to finally rewrite/extend the article.
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: EFBI: Emulate Five-volt Battery Intermittently
vm-dev@lists.squeakfoundation.org