aboutsummaryrefslogtreecommitdiff
path: root/src/vm_x86.dasc
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm_x86.dasc')
-rw-r--r--src/vm_x86.dasc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc
index 68e23847..3f2959be 100644
--- a/src/vm_x86.dasc
+++ b/src/vm_x86.dasc
@@ -2202,15 +2202,6 @@ static void build_subroutines(BuildCtx *ctx)
2202 | 2202 |
2203 |//-- String library ----------------------------------------------------- 2203 |//-- String library -----------------------------------------------------
2204 | 2204 |
2205 |.ffunc_1 string_len
2206 | cmp dword [BASE+4], LJ_TSTR; jne ->fff_fallback
2207 | mov STR:RB, [BASE]
2208 |.if DUALNUM
2209 | mov RB, dword STR:RB->len; jmp ->fff_resi
2210 |.else
2211 | cvtsi2sd xmm0, dword STR:RB->len; jmp ->fff_resxmm0
2212 |.endif
2213 |
2214 |.ffunc string_byte // Only handle the 1-arg case here. 2205 |.ffunc string_byte // Only handle the 1-arg case here.
2215 | cmp NARGS:RD, 1+1; jne ->fff_fallback 2206 | cmp NARGS:RD, 1+1; jne ->fff_fallback
2216 | cmp dword [BASE+4], LJ_TSTR; jne ->fff_fallback 2207 | cmp dword [BASE+4], LJ_TSTR; jne ->fff_fallback