From: Rhys Weatherley Date: Wed, 9 Jun 2004 01:16:02 +0000 (+0000) Subject: flush_constants: update the instruction location after flushing the X-Git-Tag: r.0.0.4~30 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=a4876a9e5e2f510d87702d57f95e2590a6db1196;p=francis%2Flibjit.git flush_constants: update the instruction location after flushing the constant table. --- diff --git a/ChangeLog b/ChangeLog index fe8f41b..982fef2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ +2004-06-09 Rhys Weatherley + + * jit/jit-rules-arm.c (flush_constants): update the instruction + location after flushing the constant table. + 2004-06-08 Rhys Weatherley * jit/Makefile.am, jit/jit-cpuid-x86.c, jit/jit-cpuid-x86.h: diff --git a/jit/jit-rules-arm.c b/jit/jit-rules-arm.c index d0c6048..f2fbe69 100644 --- a/jit/jit-rules-arm.c +++ b/jit/jit-rules-arm.c @@ -143,6 +143,7 @@ static void flush_constants(jit_gencode_t gen, int after_epilog) gen->num_constants = 0; gen->align_constants = 0; gen->first_constant_use = 0; + gen->posn.ptr = (unsigned char *)inst; } /*