diff options
Diffstat (limited to 'src/intercopycontext.cpp')
-rw-r--r-- | src/intercopycontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 5f3ce7d..7244ed8 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp | |||
@@ -148,7 +148,7 @@ static constexpr RegistryUniqueKey kMtIdRegKey{ 0xA8895DCF4EC3FE3Cull }; | |||
148 | STACK_GROW(L_, 3); | 148 | STACK_GROW(L_, 3); |
149 | 149 | ||
150 | STACK_CHECK_START_REL(L_, 0); | 150 | STACK_CHECK_START_REL(L_, 0); |
151 | std::ignore = kMtIdRegKey.getSubTable(L_, 0, 0); // L_: ... _R[kMtIdRegKey] | 151 | std::ignore = kMtIdRegKey.getSubTable(L_, NArr{ 0 }, NRec{ 0 }); // L_: ... _R[kMtIdRegKey] |
152 | lua_pushvalue(L_, _absidx); // L_: ... _R[kMtIdRegKey] {mt} | 152 | lua_pushvalue(L_, _absidx); // L_: ... _R[kMtIdRegKey] {mt} |
153 | lua_rawget(L_, -2); // L_: ... _R[kMtIdRegKey] mtk? | 153 | lua_rawget(L_, -2); // L_: ... _R[kMtIdRegKey] mtk? |
154 | 154 | ||
@@ -599,7 +599,7 @@ LuaType InterCopyContext::processConversion() const | |||
599 | STACK_CHECK_START_REL(L2, 0); | 599 | STACK_CHECK_START_REL(L2, 0); |
600 | STACK_GROW(L2, 4); | 600 | STACK_GROW(L2, 4); |
601 | // do we already know this metatable? | 601 | // do we already know this metatable? |
602 | std::ignore = kMtIdRegKey.getSubTable(L2, 0, 0); // L2: _R[kMtIdRegKey] | 602 | std::ignore = kMtIdRegKey.getSubTable(L2, NArr{ 0 }, NRec{ 0 }); // L2: _R[kMtIdRegKey] |
603 | lua_pushinteger(L2, _mt_id); // L2: _R[kMtIdRegKey] id | 603 | lua_pushinteger(L2, _mt_id); // L2: _R[kMtIdRegKey] id |
604 | lua_rawget(L2, -2); // L2: _R[kMtIdRegKey] mt|nil | 604 | lua_rawget(L2, -2); // L2: _R[kMtIdRegKey] mt|nil |
605 | STACK_CHECK(L2, 2); | 605 | STACK_CHECK(L2, 2); |