summaryrefslogtreecommitdiff
path: root/src/lj_emit_arm.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-05-07 23:16:19 +0200
committerMike Pall <mike>2012-05-07 23:16:19 +0200
commit0d824b7d1417dbb89468d2b6093c2fad127fcc06 (patch)
treec0817b217d91491e05c80422ff936460331fa8f2 /src/lj_emit_arm.h
parentafc17b3c1aafbd056c2bbb10ef937ebc10de07ee (diff)
downloadluajit2-0d824b7d1417dbb89468d2b6093c2fad127fcc06.tar.gz
Fix PHI stack slot syncing.
Diffstat (limited to 'src/lj_emit_arm.h')
-rw-r--r--src/lj_emit_arm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_emit_arm.h b/src/lj_emit_arm.h
index 7654c19b..21ece88e 100644
--- a/src/lj_emit_arm.h
+++ b/src/lj_emit_arm.h
@@ -231,6 +231,8 @@ static void emit_branch(ASMState *as, ARMIns ai, MCode *target)
as->mcp = p;
}
+#define emit_jmp(as, target) emit_branch(as, ARMI_B, (target))
+
static void emit_call(ASMState *as, void *target)
{
MCode *p = --as->mcp;