Merge branch 'master' into v2.1

This commit is contained in:
Mike Pall 2014-05-12 14:36:28 +02:00
commit 159cfd63f5

View File

@ -519,12 +519,14 @@ static ptrdiff_t finderrfunc(lua_State *L)
case FRAME_C: case FRAME_C:
cf = cframe_prev(cf); cf = cframe_prev(cf);
/* fallthrough */ /* fallthrough */
case FRAME_VARG:
frame = frame_prevd(frame);
break;
case FRAME_CONT: case FRAME_CONT:
#if LJ_HASFFI #if LJ_HASFFI
if ((frame-1)->u32.lo == LJ_CONT_FFI_CALLBACK) if ((frame-1)->u32.lo == LJ_CONT_FFI_CALLBACK)
cf = cframe_prev(cf); cf = cframe_prev(cf);
#endif #endif
case FRAME_VARG:
frame = frame_prevd(frame); frame = frame_prevd(frame);
break; break;
case FRAME_CP: case FRAME_CP: