On Mon, Dec 23, 2013 at 10:32:41PM +0100, Holger Hans Peter Freyther wrote:
Good Evening,
> > st> a := 0. p := [a := 3] newProcess
> >
> > The code does not get across Dictionary>>findIndex: (Dictionary.st:588).
>
>
> translate_method()
> ...
> if (!lbl_define (*this_label))
> {
> define_ip_map_entry (bp - bc);
> emit_interrupt_check (JIT_NOREG, bp - bc);
> }
>
>
> Dictionary>>#findIndex:
>
> An instance of MethodContext
> parent: Dictionary(HashedCollection)>>findIndexOrNil: (HashedColl.st:359)
> nativeIP: 0
^^^^ this is the hint. the returned native_ip was not satisfying
the IS_INT test. This means I had to move the jit_align(2) _after_
the ip storing. I think this code can be quite fragile when porting
to other architectures?!
_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk