aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2016-05-29 18:12:58 +0200
committerMike Pall <mike>2016-05-29 18:12:58 +0200
commit384ce2f9eff0322eca76a26fdaadd5840043710a (patch)
tree84fdcaf85f8464da4eb0dc6b3af678ff7d119e4f
parent56fe899a06c5a05e8d4ceb8972b3c45dab1c2979 (diff)
downloadluajit-384ce2f9eff0322eca76a26fdaadd5840043710a.tar.gz
luajit-384ce2f9eff0322eca76a26fdaadd5840043710a.tar.bz2
luajit-384ce2f9eff0322eca76a26fdaadd5840043710a.zip
MIPS: Fix build failures and warnings.
-rw-r--r--src/Makefile.dep4
-rw-r--r--src/lj_arch.h4
-rw-r--r--src/lj_opt_split.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile.dep b/src/Makefile.dep
index 1df1ce6c..4ef002e9 100644
--- a/src/Makefile.dep
+++ b/src/Makefile.dep
@@ -162,8 +162,8 @@ lj_opt_narrow.o: lj_opt_narrow.c lj_obj.h lua.h luaconf.h lj_def.h \
162lj_opt_sink.o: lj_opt_sink.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ 162lj_opt_sink.o: lj_opt_sink.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \
163 lj_ir.h lj_jit.h lj_iropt.h lj_target.h lj_target_*.h 163 lj_ir.h lj_jit.h lj_iropt.h lj_target.h lj_target_*.h
164lj_opt_split.o: lj_opt_split.c lj_obj.h lua.h luaconf.h lj_def.h \ 164lj_opt_split.o: lj_opt_split.c lj_obj.h lua.h luaconf.h lj_def.h \
165 lj_arch.h lj_err.h lj_errmsg.h lj_buf.h lj_gc.h lj_str.h lj_dispatch.h \ 165 lj_arch.h lj_err.h lj_errmsg.h lj_buf.h lj_gc.h lj_str.h lj_ir.h \
166 lj_bc.h lj_jit.h lj_ir.h lj_ircall.h lj_iropt.h lj_vm.h 166 lj_jit.h lj_ircall.h lj_iropt.h lj_dispatch.h lj_bc.h lj_vm.h
167lj_parse.o: lj_parse.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ 167lj_parse.o: lj_parse.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \
168 lj_gc.h lj_err.h lj_errmsg.h lj_debug.h lj_buf.h lj_str.h lj_tab.h \ 168 lj_gc.h lj_err.h lj_errmsg.h lj_debug.h lj_buf.h lj_str.h lj_tab.h \
169 lj_func.h lj_state.h lj_bc.h lj_ctype.h lj_strfmt.h lj_lex.h lj_parse.h \ 169 lj_func.h lj_state.h lj_bc.h lj_ctype.h lj_strfmt.h lj_lex.h lj_parse.h \
diff --git a/src/lj_arch.h b/src/lj_arch.h
index bbcdc739..cc5a0a66 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -428,11 +428,11 @@
428#error "No support for PPC/e500 anymore (use LuaJIT 2.0)" 428#error "No support for PPC/e500 anymore (use LuaJIT 2.0)"
429#endif 429#endif
430#elif LJ_TARGET_MIPS32 430#elif LJ_TARGET_MIPS32
431#if _MIPS_SIM != _MIPS_SIM_ABI32 431#if !((defined(_MIPS_SIM_ABI32) && _MIPS_SIM == _MIPS_SIM_ABI32) || (defined(_ABIO32) && _MIPS_SIM == _ABIO32))
432#error "Only o32 ABI supported for MIPS32" 432#error "Only o32 ABI supported for MIPS32"
433#endif 433#endif
434#elif LJ_TARGET_MIPS64 434#elif LJ_TARGET_MIPS64
435#if _MIPS_SIM != _MIPS_SIM_ABI64 435#if !((defined(_MIPS_SIM_ABI64) && _MIPS_SIM == _MIPS_SIM_ABI64) || (defined(_ABI64) && _MIPS_SIM == _ABI64))
436#error "Only n64 ABI supported for MIPS64" 436#error "Only n64 ABI supported for MIPS64"
437#endif 437#endif
438#endif 438#endif
diff --git a/src/lj_opt_split.c b/src/lj_opt_split.c
index 19818660..884285d2 100644
--- a/src/lj_opt_split.c
+++ b/src/lj_opt_split.c
@@ -12,11 +12,11 @@
12 12
13#include "lj_err.h" 13#include "lj_err.h"
14#include "lj_buf.h" 14#include "lj_buf.h"
15#include "lj_dispatch.h"
16#include "lj_ir.h" 15#include "lj_ir.h"
17#include "lj_jit.h" 16#include "lj_jit.h"
18#include "lj_ircall.h" 17#include "lj_ircall.h"
19#include "lj_iropt.h" 18#include "lj_iropt.h"
19#include "lj_dispatch.h"
20#include "lj_vm.h" 20#include "lj_vm.h"
21 21
22/* SPLIT pass: 22/* SPLIT pass: