Skip to content

Commit 4b85f56

Browse files
committed
Use new isCaptureFramesForTrace API
1 parent 716041b commit 4b85f56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/PRootNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -128,7 +128,7 @@ public void setNeedsExceptionState() {
128128
}
129129

130130
@Override
131-
public boolean isCaptureFramesForTrace() {
131+
public boolean isCaptureFramesForTrace(Node node) {
132132
return true;
133133
}
134134

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/function/BuiltinFunctionRootNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public boolean isCloningAllowed() {
317317
}
318318

319319
@Override
320-
public boolean isCaptureFramesForTrace() {
320+
public boolean isCaptureFramesForTrace(Node node) {
321321
return false;
322322
}
323323

0 commit comments

Comments
 (0)