| 137 | #pragma GCC push_options |
| 138 | #pragma GCC optimize ("O0") |
| 139 | int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) { |
| 140 | unsigned short oldnCcalls = L->nCcalls; |
| 141 | struct lua_longjmp lj; |
| 142 | lj.status = LUA_OK; |
| 143 | lj.previous = L->errorJmp; /* chain new error handler */ |
| 144 | L->errorJmp = &lj; |
| 145 | #ifdef ARM_MATH_CM7 |
| 146 | __asm__("vpush {s16-s31}"); |
| 147 | #endif |
| 148 | LUAI_TRY(L, &lj, |
| 149 | (*f)(L, ud); |
| 150 | ); |
| 151 | #ifdef ARM_MATH_CM7 |
| 152 | __asm__("vpop {s16-s31}"); |
| 153 | #endif |
| 154 | L->errorJmp = lj.previous; /* restore old error handler */ |
| 155 | L->nCcalls = oldnCcalls; |
| 156 | return lj.status; |
| 157 | } |
| 158 | #pragma GCC pop_options |
| 159 | /* }====================================================== */ |
| 160 |
no outgoing calls
no test coverage detected