# HG changeset patch # User Andreas Woess # Date 1448469847 -3600 # Node ID 0d95e34b1e679e29aa0f27c42de6913924ee9fe0 # Parent 5d5989823d5debf4eb839642f2670f34204d2c67 FrameWithoutBoxing: replace transferToInterpreter() with transferToInterpreterAndInvalidate() diff -r 5d5989823d5d -r 0d95e34b1e67 graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/FrameWithoutBoxing.java --- 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];