Mercurial > hg > graal-compiler
changeset 23082:0d95e34b1e67
FrameWithoutBoxing: replace transferToInterpreter() with transferToInterpreterAndInvalidate()
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Wed, 25 Nov 2015 17:44:07 +0100 |
parents | 5d5989823d5d |
children | 4974a3ed58ed |
files | graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/FrameWithoutBoxing.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/FrameWithoutBoxing.java Tue Nov 24 16:09:09 2015 +0100 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/FrameWithoutBoxing.java Wed Nov 25 17:44:07 2015 +0100 @@ -287,7 +287,7 @@ private void verifyGet(int slotIndex, byte tag) throws FrameSlotTypeException { checkSlotIndex(slotIndex); if (getTags()[slotIndex] != tag) { - CompilerDirectives.transferToInterpreter(); + CompilerDirectives.transferToInterpreterAndInvalidate(); throw new FrameSlotTypeException(); } } @@ -308,7 +308,7 @@ public Object getValue(FrameSlot slot) { int slotIndex = slot.getIndex(); if (CompilerDirectives.inInterpreter() && slotIndex >= getTags().length) { - CompilerDirectives.transferToInterpreter(); + CompilerDirectives.transferToInterpreterAndInvalidate(); resize(); } byte tag = getTags()[slotIndex]; @@ -346,7 +346,7 @@ private byte getTag(FrameSlot slot) { int slotIndex = slot.getIndex(); if (slotIndex >= getTags().length) { - CompilerDirectives.transferToInterpreter(); + CompilerDirectives.transferToInterpreterAndInvalidate(); resize(); } return getTags()[slotIndex];