summaryrefslogtreecommitdiff
path: root/src/buildvm_arm.dasc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildvm_arm.dasc')
-rw-r--r--src/buildvm_arm.dasc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buildvm_arm.dasc b/src/buildvm_arm.dasc
index dd4b7c89..c75353d9 100644
--- a/src/buildvm_arm.dasc
+++ b/src/buildvm_arm.dasc
@@ -988,8 +988,11 @@ static void build_subroutines(BuildCtx *ctx)
988 | 988 |
989 |//-- Base library: conversions ------------------------------------------ 989 |//-- Base library: conversions ------------------------------------------
990 | 990 |
991 |.ffunc_1 tonumber 991 |.ffunc tonumber
992 | // Only handles the number case inline (without a base argument). 992 | // Only handles the number case inline (without a base argument).
993 | ldrd CARG12, [BASE]
994 | cmp NARGS8:RC, #8
995 | bne ->fff_fallback
993 | checktp CARG2, LJ_TISNUM 996 | checktp CARG2, LJ_TISNUM
994 | bls ->fff_restv 997 | bls ->fff_restv
995 | b ->fff_fallback 998 | b ->fff_fallback