diff --git a/src/ldo.c b/src/ldo.c index b89eee6..d50b9fa 100644 --- a/src/ldo.c +++ b/src/ldo.c @@ -672,7 +672,7 @@ l_sinline int precallC (lua_State *L, StkId func, unsigned status, ** (so that it includes the function itself). Return the number of ** results, if it was a C function, or -1 for a Lua function. */ -__attribute__((yk_unroll_safe)) +__attribute__((yk_unroll)) int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int narg1, int delta) { unsigned status = LUA_MULTRET + 1; @@ -731,7 +731,7 @@ int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, ** returns NULL, with all the results on the stack, starting at the ** original function position. */ -__attribute__((yk_unroll_safe)) +__attribute__((yk_unroll)) CallInfo *luaD_precall (lua_State *L, StkId func, int nresults) { unsigned status = cast_uint(nresults + 1); lua_assert(status <= MAXRESULTS + 1); diff --git a/src/lfunc.c b/src/lfunc.c index 0076910..6a0948b 100644 --- a/src/lfunc.c +++ b/src/lfunc.c @@ -233,7 +233,7 @@ static void poptbclist (lua_State *L) { ** Close all upvalues and to-be-closed variables up to the given stack ** level. Return restored 'level'. */ -__attribute__((yk_unroll_safe)) +__attribute__((yk_unroll)) StkId luaF_close (lua_State *L, StkId level, TStatus status, int yy) { ptrdiff_t levelrel = savestack(L, level); luaF_closeupval(L, level); /* first, close the upvalues */ diff --git a/src/lvm.c b/src/lvm.c index fa20411..5097728 100644 --- a/src/lvm.c +++ b/src/lvm.c @@ -291,7 +291,7 @@ static int floatforloop (StkId ra) { /* ** Finish the table access 'val = t[key]' and return the tag of the result. */ -__attribute__((yk_unroll_safe)) +__attribute__((yk_unroll)) lu_byte luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val, lu_byte tag) { int loop; /* counter to avoid infinite loops */