You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: truffle/src/com.oracle.truffle.api.bytecode.test/src/com/oracle/truffle/api/bytecode/test/CustomYieldTest.java
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -652,6 +652,40 @@ public void testImplicitTagInstrumentation() {
652
652
});
653
653
}
654
654
655
+
@Test
656
+
publicvoidtestYieldQuickeningRegressionTest() {
657
+
/*
658
+
* Regression test for a quickening bug. The yield's childBci calculation did not account
659
+
* for tag.resume instructions, and under the right circumstances, the parent operation
660
+
* would "quicken" an instruction operand, leading to unexpected results.
Copy file name to clipboardExpand all lines: truffle/src/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/bytecode/generator/BytecodeRootNodeElement.java
0 commit comments