diff --git a/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/nodes/promise/PromiseReactionJobNode.java b/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/nodes/promise/PromiseReactionJobNode.java index c1dfbf96dcc..d8d9173a01c 100644 --- a/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/nodes/promise/PromiseReactionJobNode.java +++ b/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/nodes/promise/PromiseReactionJobNode.java @@ -51,7 +51,6 @@ import com.oracle.truffle.api.instrumentation.ProbeNode; import com.oracle.truffle.api.instrumentation.StandardTags; import com.oracle.truffle.api.instrumentation.Tag; -import com.oracle.truffle.api.nodes.Node; import com.oracle.truffle.api.object.HiddenKey; import com.oracle.truffle.api.profiles.ConditionProfile; import com.oracle.truffle.js.nodes.JavaScriptBaseNode; @@ -213,7 +212,7 @@ private TryCatchNode.GetErrorObjectNode getErrorObject() { } @Override - public boolean isCaptureFramesForTrace(@SuppressWarnings("unused") Node currentNode) { + public boolean isCaptureFramesForTrace(@SuppressWarnings("unused") boolean compiledFrame) { return context.isOptionAsyncStackTraces(); } diff --git a/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JavaScriptRootNode.java b/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JavaScriptRootNode.java index b0757a0f7e7..8a28e1ba5d1 100644 --- a/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JavaScriptRootNode.java +++ b/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JavaScriptRootNode.java @@ -45,7 +45,6 @@ import com.oracle.truffle.api.TruffleStackTraceElement; import com.oracle.truffle.api.frame.Frame; import com.oracle.truffle.api.frame.FrameDescriptor; -import com.oracle.truffle.api.nodes.Node; import com.oracle.truffle.api.nodes.NodeInfo; import com.oracle.truffle.api.nodes.RootNode; import com.oracle.truffle.api.source.SourceSection; @@ -109,7 +108,7 @@ public boolean isResumption() { } @Override - public boolean isCaptureFramesForTrace(@SuppressWarnings("unused") Node currentNode) { + public boolean isCaptureFramesForTrace(@SuppressWarnings("unused") boolean compiledFrame) { return isFunction() || isResumption(); }