Revert "Blua: OP_SELF can use 'luaV_fastget' specialized for strings, as it is applied only to string keys"

This reverts commit 7aa4bd6990.
This commit is contained in:
alufolie91 committed 2026-05-15 11:52:29 +02:00
1 parent 6ddc0f2c44
commit d4ab749fba
1 file changed
+1 -6
+1 -6
View File
@@ -529,16 +529,11 @@ void luaV_execute (lua_State *L, int nexeccalls) {
continue;
}
case OP_SELF: {
TValue *slot;
StkId ra = RA(i);
StkId rb = RB(i);
TValue *rc = RKC(i);
TString *key = rawtsvalue(rc); /* key must be a string */
setobjs2s(L, ra + 1, rb);
if (luaV_fastget(L, rb, key, slot, luaH_getstr)) {
setobj2s(L, ra, slot);
}
else Protect(luaV_finishget(L, rb, rc, ra, slot));
gettableProtected(L, rb, rc, ra);
continue;
}
case OP_ADD: {