Skip to content

Commit 77cf09d

Browse files
committed
add redefinedSlots for PStructUnpackIterator, since these are intrinsified in enterprise, but not in CE
1 parent 83e9cad commit 77cf09d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/PythonBuiltinClassType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@ public final Shape getInstanceShape(PythonLanguage lang) {
656656
UnicodeDecodeError.redefinedSlots = new SpecialMethodSlot[]{SpecialMethodSlot.Str};
657657
UnicodeTranslateError.redefinedSlots = new SpecialMethodSlot[]{SpecialMethodSlot.Str};
658658
OSError.redefinedSlots = new SpecialMethodSlot[]{SpecialMethodSlot.Str};
659+
PStructUnpackIterator.redefinedSlots = new SpecialMethodSlot[]{SpecialMethodSlot.Next, SpecialMethodSlot.Iter, SpecialMethodSlot.LengthHint};
659660

660661
// These slots actually contain context independent values, but they are initialized in
661662
// StructSequence to artificial PBuiltinFunctions with artificial builtin node factories,

0 commit comments

Comments
 (0)