]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
flush_constants: update the instruction location after flushing the
authorRhys Weatherley <rweather@southern-storm.com.au>
Wed, 9 Jun 2004 01:16:02 +0000 (01:16 +0000)
committerRhys Weatherley <rweather@southern-storm.com.au>
Wed, 9 Jun 2004 01:16:02 +0000 (01:16 +0000)
constant table.

ChangeLog
jit/jit-rules-arm.c

index fe8f41bbe6462f532b77e526e0cb76ce20fdfef7..982fef2c8772c114845d17f4f44a3924e1f96cbb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
 
+2004-06-09  Rhys Weatherley  <rweather@southern-storm.com.au>
+
+       * jit/jit-rules-arm.c (flush_constants): update the instruction
+       location after flushing the constant table.
+
 2004-06-08  Rhys Weatherley  <rweather@southern-storm.com.au>
 
        * jit/Makefile.am, jit/jit-cpuid-x86.c, jit/jit-cpuid-x86.h:
index d0c60486f1b1d107c5702fa70e4029a6dff03dcd..f2fbe69cea09ac74356359f8d137aa9e81cdcafc 100644 (file)
@@ -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;
 }
 
 /*