diff options
author | Mike Pall <mike> | 2011-06-03 12:23:43 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-03 12:23:43 +0200 |
commit | 77bb8de93da29cc3b1a3fbc2f605f8b70841657b (patch) | |
tree | 60e083f70872cb9851774d086665897df63d5b09 /src/lj_err.c | |
parent | 84e33332a73ed978099754309abea03245a875bf (diff) | |
download | luajit2-77bb8de93da29cc3b1a3fbc2f605f8b70841657b.tar.gz |
ARM: Disable C++ exception catching on Symbian.
Diffstat (limited to 'src/lj_err.c')
-rw-r--r-- | src/lj_err.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_err.c b/src/lj_err.c index 11f0922f..61178805 100644 --- a/src/lj_err.c +++ b/src/lj_err.c @@ -531,7 +531,7 @@ static void *err_unwind(lua_State *L, void *stopcf, int errcode) /* -- External frame unwinding -------------------------------------------- */ -#if defined(__GNUC__) +#if defined(__GNUC__) && !defined(__symbian__) #ifdef __clang__ /* http://llvm.org/bugs/show_bug.cgi?id=8703 */ @@ -540,13 +540,13 @@ static void *err_unwind(lua_State *L, void *stopcf, int errcode) #include <unwind.h> +#if !LJ_TARGET_ARM + #define LJ_UEXCLASS 0x4c55414a49543200ULL /* LUAJIT2\0 */ #define LJ_UEXCLASS_MAKE(c) (LJ_UEXCLASS | (_Unwind_Exception_Class)(c)) #define LJ_UEXCLASS_CHECK(cl) (((cl) ^ LJ_UEXCLASS) <= 0xff) #define LJ_UEXCLASS_ERRCODE(cl) ((int)((cl) & 0xff)) -#if !LJ_TARGET_ARM - /* DWARF2 personality handler referenced from interpreter .eh_frame. */ LJ_FUNCA int lj_err_unwind_dwarf(int version, _Unwind_Action actions, _Unwind_Exception_Class uexclass, struct _Unwind_Exception *uex, |