On Sun, Jun 02, 2013 at 02:01:32PM +0200, Holger Hans Peter Freyther wrote:
> On Tue, Jan 22, 2013 at 06:26:51PM +0100, Holger Hans Peter Freyther wrote:
> +
> + jit_flush_code(_gst_run_native_code, jit_get_ip().ptr);
I have found another issue with the bootstrap and now have some basic
JIT working and started to look into the test failures:
One of them is this:
(Delay forMilliseconds: 100) value: [ [true] whileTrue ] onTimeoutDo: []
Object: BlockContext new: 8 "<-0x4cc86ae0>" error: Invalid index -1: index out
of range
SystemExceptions.IndexOutOfRange(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.IndexOutOfRange class>>signalOn:withIndex: (SysExcept.st:660)
BlockContext(Object)>>checkIndexableBounds: (Object.st:796)
BlockContext(Object)>>at: (Object.st:858)
BlockContext(ContextPart)>>at: (ContextPart.st:294)
[] in BlockClosure>>asContext: (BlkClosure.st:180)
BlockContext class>>fromClosure:parent: (BlkContext.st:68)
optimized [] in UndefinedObject>>executeStatements (a String:1)
BlockClosure>>ensure: (BlkClosure.st:270)
[] in Delay>>value:onTimeoutDo: (Delay.st:315)
BlockClosure>>on:do: (BlkClosure.st:195)
Delay>>value:onTimeoutDo: (Delay.st:316)
UndefinedObject>>executeStatements (a String:1)
this appears to come from the fact that:
An instance of BlockContext
parent: BlockClosure>>ensure: (BlkClosure.st:270)
nativeIP: 74241900
ip: 0
sp: -1
receiver: UndefinedObject
method: [] in UndefinedObject>>executeStatements
outerContext: nil
while the sp for the BC is 0.
does this ring a bell?
holger
_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk