Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public BytecodeDSLState(PBytecodeDSLRootNode rootNode, Object[] arguments, Conti
}

public Object handleResult(PGenerator generator, ContinuationResult result) {
assert result.getContinuationRootNode() == null || result.getContinuationRootNode().getFrameDescriptor() == generator.frame.getFrameDescriptor();
assert PBytecodeDSLRootNode.cast(result.getContinuationRootNode()).getFrameDescriptor() == generator.frame.getFrameDescriptor();
isStarted = true;
// We must keep the previous root so that we can load its BytecodeNode to resolve BCI to
// location, the next continuation node may have different BytecodeNode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,6 @@ public static Object doOther(Object ex) {
* provides access to the generator frame even before the generator was started.
*/
@Yield
@SuppressWarnings("truffle-interpreted-performance") // blocked by GR-69979
public static final class YieldGenerator {
@Specialization
public static Object doYield(
Expand Down Expand Up @@ -1199,7 +1198,6 @@ public static Object doObject(Object value,
* Performs some clean-up steps before suspending execution, and updates the generator state.
*/
@Yield
@SuppressWarnings("truffle-interpreted-performance") // blocked by GR-69979
public static final class YieldValue {
@Specialization
public static Object doObject(Object value,
Expand Down
Loading