summaryrefslogtreecommitdiff
path: root/ext/arybase
diff options
context:
space:
mode:
Diffstat (limited to 'ext/arybase')
-rw-r--r--ext/arybase/arybase.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/arybase/arybase.xs b/ext/arybase/arybase.xs
index 68b9cf99cc..cde9bb8a84 100644
--- a/ext/arybase/arybase.xs
+++ b/ext/arybase/arybase.xs
@@ -405,8 +405,8 @@ BOOT:
#ifdef USE_ITHREADS
MUTEX_INIT(&ab_op_map_mutex);
#endif
-#define check(uc,lc,ck) ab_old_ck_##lc = PL_check[OP_##uc]; \
- PL_check[OP_##uc] = ab_ck_##ck
+#define check(uc,lc,ck) \
+ wrap_op_checker(OP_##uc, ab_ck_##ck, &ab_old_ck_##lc)
check(SASSIGN, sassign, sassign);
check(AASSIGN, aassign, aassign);
check(AELEM, aelem, base);