aboutsummaryrefslogtreecommitdiff
path: root/src/lj_target_mips.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_target_mips.h
parentafc17b3c1aafbd056c2bbb10ef937ebc10de07ee (diff)
downloadluajit-0d824b7d1417dbb89468d2b6093c2fad127fcc06.tar.gz
luajit-0d824b7d1417dbb89468d2b6093c2fad127fcc06.tar.bz2
luajit-0d824b7d1417dbb89468d2b6093c2fad127fcc06.zip
Fix PHI stack slot syncing.
Diffstat (limited to 'src/lj_target_mips.h')
-rw-r--r--src/lj_target_mips.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_target_mips.h b/src/lj_target_mips.h
index e81d55bd..1b7727d0 100644
--- a/src/lj_target_mips.h
+++ b/src/lj_target_mips.h
@@ -102,6 +102,8 @@ enum {
102#define SPS_FIXED 5 102#define SPS_FIXED 5
103#define SPS_FIRST 4 103#define SPS_FIRST 4
104 104
105#define SPOFS_TMP 0
106
105#define sps_scale(slot) (4 * (int32_t)(slot)) 107#define sps_scale(slot) (4 * (int32_t)(slot))
106#define sps_align(slot) (((slot) - SPS_FIXED + 1) & ~1) 108#define sps_align(slot) (((slot) - SPS_FIXED + 1) & ~1)
107 109