* src/vm/jit/stack.c (stack_analyse): Use the javaindex instead of the
authorEdwin Steiner <edwin.steiner@gmx.net>
Sat, 29 Mar 2008 15:34:00 +0000 (16:34 +0100)
committerEdwin Steiner <edwin.steiner@gmx.net>
Sat, 29 Mar 2008 15:34:00 +0000 (16:34 +0100)
commitf3ba5c723ad187f9625fb5a6aaf0929c946ee673
tree4bcfce41585701bb6f25d9464c932b23486f9a1a
parent53ad1a801058311a8317f085151a77ed6117cb4e
* src/vm/jit/stack.c (stack_analyse): Use the javaindex instead of the
CACAO varindex for checking conflicts with local variables. While there
is no real conflict between CACAO variables of different types, the
register allocator makes the implicit assumption that variables
corresponding to the same javaindex may be coalesced. As long as this
assumption is made, we must consider variables with the same javaindex
as conflicting (and also check against that in the verifier).
This fixes [Bug 49] VerifyError with obfuscated classes.
src/vm/jit/stack.c