[Newcompiler] Re:
Marcus Denker
denker at iam.unibe.ch
Tue Sep 26 10:23:56 UTC 2006
On 22.09.2006, at 14:17, Mathieu Suen wrote:
> Hi,
>
> It seem that in the ContextDoItScope>>#emitPrologue: you should have:
>
> emitPrologue: methodBuilder
>
> Preferences compileBlocksAsClosures ifTrue: [
> self hasEscapingEnv ifFalse: [^ self].
> self emitCreateEnv: methodBuilder.
> self emitMoveCapturedRargs: methodBuilder.
> ]
>
> Is it true? (Preferences compileBlocksAsClosures ifTrue: is missing)
Hmm... if you put a halt in there then it's actually not called at
all. So it
would be interesting to find out the case in which it's called.
Marcus
More information about the Newcompiler
mailing list