aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_arm64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_arm64.h')
-rw-r--r--src/lj_asm_arm64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_arm64.h b/src/lj_asm_arm64.h
index 0729a3a5..b1fd3acc 100644
--- a/src/lj_asm_arm64.h
+++ b/src/lj_asm_arm64.h
@@ -847,9 +847,9 @@ static void asm_href(ASMState *as, IRIns *ir, IROp merge)
847 emit_dnm(as, A64I_ANDw, dest, dest, tmphash); 847 emit_dnm(as, A64I_ANDw, dest, dest, tmphash);
848 emit_lso(as, A64I_LDRw, dest, tab, offsetof(GCtab, hmask)); 848 emit_lso(as, A64I_LDRw, dest, tab, offsetof(GCtab, hmask));
849 } else if (irt_isstr(kt)) { 849 } else if (irt_isstr(kt)) {
850 /* Fetch of str->hash is cheaper than ra_allock. */ 850 /* Fetch of str->sid is cheaper than ra_allock. */
851 emit_dnm(as, A64I_ANDw, dest, dest, tmp); 851 emit_dnm(as, A64I_ANDw, dest, dest, tmp);
852 emit_lso(as, A64I_LDRw, tmp, key, offsetof(GCstr, hash)); 852 emit_lso(as, A64I_LDRw, tmp, key, offsetof(GCstr, sid));
853 emit_lso(as, A64I_LDRw, dest, tab, offsetof(GCtab, hmask)); 853 emit_lso(as, A64I_LDRw, dest, tab, offsetof(GCtab, hmask));
854 } else { /* Must match with hash*() in lj_tab.c. */ 854 } else { /* Must match with hash*() in lj_tab.c. */
855 emit_dnm(as, A64I_ANDw, dest, dest, tmp); 855 emit_dnm(as, A64I_ANDw, dest, dest, tmp);