File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,16 @@ public void setRewritten() {
164
164
this .isRewritten = true ;
165
165
}
166
166
167
+ @ Override
168
+ public boolean isCaptureFramesForTrace () {
169
+ return !isRewritten ;
170
+ }
171
+
172
+ @ Override
173
+ public boolean isInternal () {
174
+ return isRewritten ;
175
+ }
176
+
167
177
@ Override
168
178
public void initializeFrame (VirtualFrame frame ) {
169
179
initClosureAndCellVars (frame );
Original file line number Diff line number Diff line change 41
41
package com .oracle .graal .python .nodes .generator ;
42
42
43
43
import com .oracle .graal .python .PythonLanguage ;
44
- import com .oracle .graal .python .builtins .objects .function .Signature ;
45
44
import com .oracle .graal .python .builtins .objects .function .PArguments ;
45
+ import com .oracle .graal .python .builtins .objects .function .Signature ;
46
46
import com .oracle .graal .python .nodes .PClosureFunctionRootNode ;
47
47
import com .oracle .graal .python .parser .ExecutionCellSlots ;
48
48
import com .oracle .graal .python .runtime .object .PythonObjectFactory ;
@@ -88,6 +88,16 @@ public String getName() {
88
88
return name ;
89
89
}
90
90
91
+ @ Override
92
+ public boolean isCaptureFramesForTrace () {
93
+ return false ;
94
+ }
95
+
96
+ @ Override
97
+ public boolean isInternal () {
98
+ return true ;
99
+ }
100
+
91
101
@ Override
92
102
public void initializeFrame (VirtualFrame frame ) {
93
103
// nothing to do
You can’t perform that action at this time.
0 commit comments