[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [PATCH] jit: Fix test failures with Magritte, SUnit
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] [PATCH] jit: Fix test failures with Magritte, SUnit and other routines |
Date: |
Wed, 12 Jun 2013 10:34:32 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 10/06/2013 03:01, Holger Hans Peter Freyther ha scritto:
> index 0e8fa27..78fa94c 100644
> --- a/libgst/interp-jit.inl
> +++ b/libgst/interp-jit.inl
> @@ -353,6 +353,10 @@ refresh_native_ips (OOP contextOOP)
> virtualIP = TO_INT (context->ipOffset);
> native_ip =
> _gst_map_virtual_ip (context->method, receiverClass, virtualIP);
> + /* The above might have freshly translated the method for us
> + and the F_XLAT_REACHABLE is not set yet. Set the flag right
> + to assure we can safely return to this method. */
> + context->method->flags |= F_XLAT_REACHABLE;
Awesome!
Paolo