You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/compiler/bytecode_dsl/RootNodeCompiler.java
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3146,17 +3146,20 @@ public Void visit(ExprTy.Subscript node) {
3146
3146
3147
3147
/**
3148
3148
* This method unpacks the rhs (a sequence/iterable) to the elements on the lhs
3149
-
* (specified by {@code nodes}.
3149
+
* specified by {@code nodes}.
3150
3150
*/
3151
3151
privatevoidvisitIterableAssign(ExprTy[] nodes) {
3152
3152
b.beginBlock();
3153
3153
3154
-
/**
3154
+
/*
3155
3155
* The rhs should be fully evaluated and unpacked into the expected number of
3156
3156
* elements before storing values into the lhs (e.g., if an lhs element is f().attr,
3157
3157
* but computing or unpacking rhs throws, f() is not computed). Thus, the unpacking
3158
3158
* step stores the unpacked values into intermediate variables, and then those
3159
3159
* variables are copied into the lhs elements afterward.
3160
+
*
3161
+
* On top of that, in order to pass the target BytecodeLocal variables as
3162
+
* LocalRangeAccessor, they must have consecutive indices.
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/bytecode_dsl/PBytecodeDSLRootNode.java
0 commit comments