summaryrefslogtreecommitdiff
path: root/src/lj_frame.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-01-23 22:20:28 +0100
committerMike Pall <mike>2012-01-23 22:24:11 +0100
commit5bed11e6b4c2bbf0cbec0f00efe998289236b217 (patch)
tree5ed76367d5157df37b358a5874d34a21dc7d60b0 /src/lj_frame.h
parent7d2774e4c5ee7c649ccb41f75bfbbb1e7f370a96 (diff)
downloadluajit-5bed11e6b4c2bbf0cbec0f00efe998289236b217.tar.gz
luajit-5bed11e6b4c2bbf0cbec0f00efe998289236b217.tar.bz2
luajit-5bed11e6b4c2bbf0cbec0f00efe998289236b217.zip
MIPS: Add interpreter. Enable MIPS build rules.
Diffstat (limited to 'src/lj_frame.h')
-rw-r--r--src/lj_frame.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/lj_frame.h b/src/lj_frame.h
index a69917ee..8b2f3b4f 100644
--- a/src/lj_frame.h
+++ b/src/lj_frame.h
@@ -118,14 +118,13 @@ enum {
118#define CFRAME_SIZE 184 118#define CFRAME_SIZE 184
119#define CFRAME_SHIFT_MULTRES 3 119#define CFRAME_SHIFT_MULTRES 3
120#elif LJ_TARGET_MIPS 120#elif LJ_TARGET_MIPS
121/* NYI: Dummy definitions for now. */ 121#define CFRAME_OFS_ERRF 124
122#define CFRAME_OFS_ERRF 0 122#define CFRAME_OFS_NRES 120
123#define CFRAME_OFS_NRES 0 123#define CFRAME_OFS_PREV 116
124#define CFRAME_OFS_PREV 0 124#define CFRAME_OFS_L 112
125#define CFRAME_OFS_L 0 125#define CFRAME_OFS_PC 20
126#define CFRAME_OFS_PC 0 126#define CFRAME_OFS_MULTRES 16
127#define CFRAME_OFS_MULTRES 0 127#define CFRAME_SIZE 112
128#define CFRAME_SIZE 256
129#define CFRAME_SHIFT_MULTRES 3 128#define CFRAME_SHIFT_MULTRES 3
130#else 129#else
131#error "Missing CFRAME_* definitions for this architecture" 130#error "Missing CFRAME_* definitions for this architecture"