mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Revert setpvaluefast in forgLoopNodeIter because it causes assertion failure (why?)
This commit is contained in:
parent
86476fda4c
commit
bcffa3fe5a
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ bool forgLoopNodeIter(lua_State* L, Table* h, int index, TValue* ra)
|
|||
|
||||
if (!ttisnil(gval(n)))
|
||||
{
|
||||
setpvaluefast(ra + 2, reinterpret_cast<void*>(uintptr_t(index + 1)), LU_TAG_ITERATOR);
|
||||
setpvalue(ra + 2, reinterpret_cast<void*>(uintptr_t(index + 1)), LU_TAG_ITERATOR);
|
||||
getnodekey(L, ra + 3, n);
|
||||
setobj(L, ra + 4, gval(n));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue