summaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
authorMike Pall <mike>2011-10-24 16:43:51 +0200
committerMike Pall <mike>2011-10-24 16:43:51 +0200
commit0cf8c20be8ee009e01752874186a1dea352009fb (patch)
tree28280798d8765fa4693d41a7310ccb87e6f5d02e /src/lj_asm.c
parentfa9ade356b0543f11295023de3b4441a1e7d39a3 (diff)
downloadluajit-0cf8c20be8ee009e01752874186a1dea352009fb.tar.gz
luajit-0cf8c20be8ee009e01752874186a1dea352009fb.tar.bz2
luajit-0cf8c20be8ee009e01752874186a1dea352009fb.zip
PPC: Integrate and enable JIT compiler.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index 7ee9fd2f..2e204239 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -161,6 +161,8 @@ IRFLDEF(FLOFS)
161#include "lj_emit_x86.h" 161#include "lj_emit_x86.h"
162#elif LJ_TARGET_ARM 162#elif LJ_TARGET_ARM
163#include "lj_emit_arm.h" 163#include "lj_emit_arm.h"
164#elif LJ_TARGET_PPC
165#include "lj_emit_ppc.h"
164#else 166#else
165#error "Missing instruction emitter for target CPU" 167#error "Missing instruction emitter for target CPU"
166#endif 168#endif
@@ -1205,8 +1207,10 @@ static void asm_loop(ASMState *as)
1205#include "lj_asm_x86.h" 1207#include "lj_asm_x86.h"
1206#elif LJ_TARGET_ARM 1208#elif LJ_TARGET_ARM
1207#include "lj_asm_arm.h" 1209#include "lj_asm_arm.h"
1210#elif LJ_TARGET_PPC
1211#include "lj_asm_ppc.h"
1208#else 1212#else
1209#error "Missing instruction emitter for target CPU" 1213#error "Missing assembler for target CPU"
1210#endif 1214#endif
1211 1215
1212/* -- Head of trace ------------------------------------------------------- */ 1216/* -- Head of trace ------------------------------------------------------- */