[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [PATCH 2/2] jit: Resume the method _after_ the inte
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] [PATCH 2/2] jit: Resume the method _after_ the interrupt check |
Date: |
Fri, 3 Jan 2014 20:15:28 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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?!
- Re: [Help-smalltalk] [PATCH 2/2] jit: Resume the method _after_ the interrupt check,
Holger Hans Peter Freyther <=