Skip to content

Commit 2b10ffa

Browse files
msimaceksteve-s
authored andcommitted
Add builtins handler in GetWeakListOffsetNode
1 parent 792c7ae commit 2b10ffa

File tree

1 file changed

+1
-2
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type

1 file changed

+1
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/TypeNodes.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,8 +2634,7 @@ public static long executeUncached(Object cls) {
26342634
@Specialization
26352635
long lookup(Object cls,
26362636
@Cached(inline = false) CExtNodes.LookupNativeI64MemberFromBaseNode lookup) {
2637-
// TODO builtins
2638-
return lookup.execute(cls, PyTypeObject__tp_weaklistoffset, TYPE_WEAKLISTOFFSET);
2637+
return lookup.execute(cls, PyTypeObject__tp_weaklistoffset, TYPE_WEAKLISTOFFSET, PythonBuiltinClassType::getWeaklistoffset);
26392638
}
26402639
}
26412640

0 commit comments

Comments
 (0)