ref: 177cf681e5cf46117196a78c21ae0e6f5671a639
parent: fb908fbd038ae14d54738ab146495bb962a5ec47
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Mar 13 01:01:27 EDT 2025
vm: less verbose C builtin call op
--- a/src/vm.h
+++ b/src/vm.h
@@ -86,11 +86,9 @@
#endif
}
}else if(sl_likely(iscbuiltin(v))){
- sl_v *p = sp - n;
sl.sp = sp;
- v = ((csl_v*)ptr(v))->cbuiltin(p, n);
- sp = p;
- p[-1] = v;
+ sp -= n;
+ sp[-1] = ((csl_v*)ptr(v))->cbuiltin(sp, n);
NEXT_OP;
}
sl.sp = sp;