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() {
164164 this .isRewritten = true ;
165165 }
166166
167+ @ Override
168+ public boolean isCaptureFramesForTrace () {
169+ return !isRewritten ;
170+ }
171+
172+ @ Override
173+ public boolean isInternal () {
174+ return isRewritten ;
175+ }
176+
167177 @ Override
168178 public void initializeFrame (VirtualFrame frame ) {
169179 initClosureAndCellVars (frame );
Original file line number Diff line number Diff line change 4141package com .oracle .graal .python .nodes .generator ;
4242
4343import com .oracle .graal .python .PythonLanguage ;
44- import com .oracle .graal .python .builtins .objects .function .Signature ;
4544import com .oracle .graal .python .builtins .objects .function .PArguments ;
45+ import com .oracle .graal .python .builtins .objects .function .Signature ;
4646import com .oracle .graal .python .nodes .PClosureFunctionRootNode ;
4747import com .oracle .graal .python .parser .ExecutionCellSlots ;
4848import com .oracle .graal .python .runtime .object .PythonObjectFactory ;
@@ -88,6 +88,16 @@ public String getName() {
8888 return name ;
8989 }
9090
91+ @ Override
92+ public boolean isCaptureFramesForTrace () {
93+ return false ;
94+ }
95+
96+ @ Override
97+ public boolean isInternal () {
98+ return true ;
99+ }
100+
91101 @ Override
92102 public void initializeFrame (VirtualFrame frame ) {
93103 // nothing to do
You can’t perform that action at this time.
0 commit comments