summaryrefslogtreecommitdiff
path: root/src/vm_mips.dasc
diff options
context:
space:
mode:
authorMike Pall <mike>2012-09-12 16:58:47 +0200
committerMike Pall <mike>2012-09-12 16:58:47 +0200
commitaed20093781541c19b5c7d6149eda71a7141bc1c (patch)
treef86023d78e716262282c23d639a318dce1af7b65 /src/vm_mips.dasc
parent23932a6c8b7ef434bc963139b4160b1058fa6f7f (diff)
downloadluajit-aed20093781541c19b5c7d6149eda71a7141bc1c.tar.gz
luajit-aed20093781541c19b5c7d6149eda71a7141bc1c.tar.bz2
luajit-aed20093781541c19b5c7d6149eda71a7141bc1c.zip
Fix despecialization of ITERN when already running.
Diffstat (limited to 'src/vm_mips.dasc')
-rw-r--r--src/vm_mips.dasc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vm_mips.dasc b/src/vm_mips.dasc
index 6da7d4d2..fdf07343 100644
--- a/src/vm_mips.dasc
+++ b/src/vm_mips.dasc
@@ -3617,7 +3617,10 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
3617 | bnez TMP1, >5 3617 | bnez TMP1, >5
3618 |. lui TMP2, (-(BCBIAS_J*4 >> 16) & 65535) 3618 |. lui TMP2, (-(BCBIAS_J*4 >> 16) & 65535)
3619 | addu PC, TMP0, TMP2 3619 | addu PC, TMP0, TMP2
3620 | lui TMP1, 0xfffe
3621 | ori TMP1, TMP1, 0x7fff
3620 | sw r0, -8+LO(RA) // Initialize control var. 3622 | sw r0, -8+LO(RA) // Initialize control var.
3623 | sw TMP1, -8+HI(RA)
3621 |1: 3624 |1:
3622 | ins_next 3625 | ins_next
3623 |5: // Despecialize bytecode if any of the checks fail. 3626 |5: // Despecialize bytecode if any of the checks fail.