mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 18:20:22 +02:00
subtract 1 from the final byte being flushed in PPC jit_flush_code
2008-10-09 Paolo Bonzini <bonzini@gnu.org> * lightning/ppc/funcs.h (jit_flush_code): Subtract 1 from end. Reported by Eli Barzilay and Matthew Flatt.
This commit is contained in:
parent
da92a86557
commit
f87b2f6df8
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-10-09 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* lightning/ppc/funcs.h (jit_flush_code): Subtract 1 from end.
|
||||
Reported by Eli Barzilay and Matthew Flatt.
|
||||
|
||||
2008-08-23 Nix <nix@esperi.org.uk>
|
||||
|
||||
* lightning/i386/Makefile.frag: fp-32.h and fp-64.h are target files.
|
||||
|
|
|
@ -67,6 +67,9 @@ jit_flush_code(void *start, void *end)
|
|||
break;
|
||||
}
|
||||
|
||||
/* Point end to the last byte being flushed. */
|
||||
end =(void*)( (long)(end - 1));
|
||||
|
||||
start =(void*)( (long)start - (((long) start) & (cache_line_size - 1)));
|
||||
end =(void*)( (long)end - (((long) end) & (cache_line_size - 1)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue