From a4876a9e5e2f510d87702d57f95e2590a6db1196 Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Wed, 9 Jun 2004 01:16:02 +0000 Subject: [PATCH] flush_constants: update the instruction location after flushing the constant table. --- ChangeLog | 5 +++++ jit/jit-rules-arm.c | 1 + 2 files changed, 6 insertions(+) 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; } /* -- 2.47.3