cyclic looping with [0 == object] whileFalse: [object :=
reefedjib at yahoo.com
Tue Nov 6 16:30:12 UTC 2007
Oh shoot. This won't work since there are new bytecodes I have compiled
into the vm that are needed. If someone really wants to help me investigate
this, and I hope someone does, let me know and I can send you a Win32 VM or
the package to allow you to compile a vm on the platform of your choice.
----- Original Message -----
From: "Rob Withers" <reefedjib at yahoo.com>
To: "Paolo Bonzini" <bonzini at gnu.org>; <johnmci at smalltalkconsulting.com>;
"The general-purpose Squeak developers list"
<squeak-dev at lists.squeakfoundation.org>
Sent: Tuesday, November 06, 2007 8:23 AM
Subject: Re: cyclic looping with [0 == object] whileFalse: [object :=
> ----- Original Message -----
> From: "Paolo Bonzini" <bonzini at gnu.org>
>> This would work for Rob however.
> Hi Paolo,
> That would work for me in this situation, yes. Also, I thought that
> Andreas' use of a marker to stop iteration would also work in this
> situation. The issue is that I caused the situation by turning off
> inlining in the compiler (with help from others).
> This is just an intermediate step to where I really want to be, which is
> writing a macro which tests whether the receiver is Boolean, and if it is
> then run the inline form of ifTrue:, and if it is not then run the msg
> form of ifTrue:. This would avoid the above problem by keeping things
> inlined. I have this new compound macro coded up, compiling and some
> tests and it works, but it makes my environment unstable. I am getting
> emergency evaluator or outright image crashes when using it. It is
> me crazy, if I wasn't already.
> I am attching the Compiler package that I believe will load up for those
> may be willing to help me figure this out. After loading into a scratch
> image, run 'Compiler recompileAll'. Then debug 'FileList open'. This
> show you one of the soft crashes (the emergency evaluator). I suspect
> I don't have things I need to do syntax highlighting in the debugger for
> new macro code, but I am not sure if that is enough to cause crashes. It
> does strange things like switch arguments, in this case a DirectoryEntry
> suddenly becomes 6.
> thanks for any assistance,
More information about the Squeak-dev