aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_mips.h')
-rw-r--r--src/lj_asm_mips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h
index a2b8d8e0..513bd5ca 100644
--- a/src/lj_asm_mips.h
+++ b/src/lj_asm_mips.h
@@ -1041,7 +1041,7 @@ static void asm_href(ASMState *as, IRIns *ir, IROp merge)
1041 if (isk) { 1041 if (isk) {
1042 /* Nothing to do. */ 1042 /* Nothing to do. */
1043 } else if (irt_isstr(kt)) { 1043 } else if (irt_isstr(kt)) {
1044 emit_tsi(as, MIPSI_LW, tmp1, key, (int32_t)offsetof(GCstr, hash)); 1044 emit_tsi(as, MIPSI_LW, tmp1, key, (int32_t)offsetof(GCstr, sid));
1045 } else { /* Must match with hash*() in lj_tab.c. */ 1045 } else { /* Must match with hash*() in lj_tab.c. */
1046 emit_dst(as, MIPSI_SUBU, tmp1, tmp1, tmp2); 1046 emit_dst(as, MIPSI_SUBU, tmp1, tmp1, tmp2);
1047 emit_rotr(as, tmp2, tmp2, dest, (-HASH_ROT3)&31); 1047 emit_rotr(as, tmp2, tmp2, dest, (-HASH_ROT3)&31);