File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/frame Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ public static ReadLocalsNode create() {
105
105
}
106
106
107
107
/**
108
- * Fast access to custom locals if a custom dict was provided by the caller and the python frame does not escape.
108
+ * Fast access to custom locals if a custom dict was provided by the caller and the python frame
109
+ * does not escape.
109
110
*
110
111
* @param frame the current frame
111
112
* @param havePyFrame profile if we do have a python frame (PFrame)
@@ -115,7 +116,7 @@ public static ReadLocalsNode create() {
115
116
public static PythonObject fastGetCustomLocalsOrGlobals (VirtualFrame frame , ConditionProfile havePyFrame , ConditionProfile haveCustomLocals ) {
116
117
PFrame pyFrame = PArguments .getCurrentFrameInfo (frame ).getPyFrame ();
117
118
if (havePyFrame .profile (pyFrame != null ) && haveCustomLocals .profile (pyFrame .getLocals (null ) != null )) {
118
- return (PythonObject ) pyFrame .getLocals (null );
119
+ return (PythonObject ) pyFrame .getLocals (null );
119
120
}
120
121
// return the globals
121
122
return PArguments .getGlobals (frame );
You can’t perform that action at this time.
0 commit comments