Skip to content

Commit 6bfc946

Browse files
fangerertimfel
authored andcommitted
Add native fast path for ctx_AsStructLegacy
1 parent 3e6d0fb commit 6bfc946

File tree

1 file changed

+2
-0
lines changed
  • graalpython/com.oracle.graal.python.jni/src

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python.jni/src/hpy_jni.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,8 @@ void initDirectFastPaths(HPyContext *context) {
451451
original_AsStruct = context->ctx_AsStruct;
452452
context->ctx_AsStruct = augment_AsStruct;
453453

454+
context->ctx_AsStructLegacy = augment_AsStruct;
455+
454456
original_Dup = context->ctx_Dup;
455457
context->ctx_Dup = augment_Dup;
456458

0 commit comments

Comments
 (0)