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.dasc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc
index 57c8e4fc..f9bea426 100644
--- a/src/vm_x86.dasc
+++ b/src/vm_x86.dasc
@@ -1522,7 +1522,7 @@ static void build_subroutines(BuildCtx *ctx)
1522 | mov dword [BASE-4], LJ_TTAB // Store metatable as default result. 1522 | mov dword [BASE-4], LJ_TTAB // Store metatable as default result.
1523 | mov [BASE-8], TAB:RB 1523 | mov [BASE-8], TAB:RB
1524 | mov RA, TAB:RB->hmask 1524 | mov RA, TAB:RB->hmask
1525 | and RA, STR:RC->hash 1525 | and RA, STR:RC->sid
1526 | imul RA, #NODE 1526 | imul RA, #NODE
1527 | add NODE:RA, TAB:RB->node 1527 | add NODE:RA, TAB:RB->node
1528 |3: // Rearranged logic, because we expect _not_ to find the key. 1528 |3: // Rearranged logic, because we expect _not_ to find the key.
@@ -4286,7 +4286,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
4286 | mov TAB:RB, [BASE+RB*8] 4286 | mov TAB:RB, [BASE+RB*8]
4287 |->BC_TGETS_Z: // RB = GCtab *, RC = GCstr *, refetches PC_RA. 4287 |->BC_TGETS_Z: // RB = GCtab *, RC = GCstr *, refetches PC_RA.
4288 | mov RA, TAB:RB->hmask 4288 | mov RA, TAB:RB->hmask
4289 | and RA, STR:RC->hash 4289 | and RA, STR:RC->sid
4290 | imul RA, #NODE 4290 | imul RA, #NODE
4291 | add NODE:RA, TAB:RB->node 4291 | add NODE:RA, TAB:RB->node
4292 |1: 4292 |1:
@@ -4457,7 +4457,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
4457 | mov TAB:RB, [BASE+RB*8] 4457 | mov TAB:RB, [BASE+RB*8]
4458 |->BC_TSETS_Z: // RB = GCtab *, RC = GCstr *, refetches PC_RA. 4458 |->BC_TSETS_Z: // RB = GCtab *, RC = GCstr *, refetches PC_RA.
4459 | mov RA, TAB:RB->hmask 4459 | mov RA, TAB:RB->hmask
4460 | and RA, STR:RC->hash 4460 | and RA, STR:RC->sid
4461 | imul RA, #NODE 4461 | imul RA, #NODE
4462 | mov byte TAB:RB->nomm, 0 // Clear metamethod cache. 4462 | mov byte TAB:RB->nomm, 0 // Clear metamethod cache.
4463 | add NODE:RA, TAB:RB->node 4463 | add NODE:RA, TAB:RB->node