|
@@ -1253,7 +1253,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
const TValue *slot;
|
|
|
TValue *upval = cl->upvals[GETARG_B(i)]->v.p;
|
|
|
TValue *rc = KC(i);
|
|
|
- TString *key = tsvalue(rc); /* key must be a string */
|
|
|
+ TString *key = tsvalue(rc); /* key must be a short string */
|
|
|
if (luaV_fastget(L, upval, key, slot, luaH_getshortstr)) {
|
|
|
setobj2s(L, ra, slot);
|
|
|
}
|
|
@@ -1296,7 +1296,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
const TValue *slot;
|
|
|
TValue *rb = vRB(i);
|
|
|
TValue *rc = KC(i);
|
|
|
- TString *key = tsvalue(rc); /* key must be a string */
|
|
|
+ TString *key = tsvalue(rc); /* key must be a short string */
|
|
|
if (luaV_fastget(L, rb, key, slot, luaH_getshortstr)) {
|
|
|
setobj2s(L, ra, slot);
|
|
|
}
|
|
@@ -1309,7 +1309,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
TValue *upval = cl->upvals[GETARG_A(i)]->v.p;
|
|
|
TValue *rb = KB(i);
|
|
|
TValue *rc = RKC(i);
|
|
|
- TString *key = tsvalue(rb); /* key must be a string */
|
|
|
+ TString *key = tsvalue(rb); /* key must be a short string */
|
|
|
if (luaV_fastget(L, upval, key, slot, luaH_getshortstr)) {
|
|
|
luaV_finishfastset(L, upval, slot, rc);
|
|
|
}
|
|
@@ -1352,7 +1352,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
const TValue *slot;
|
|
|
TValue *rb = KB(i);
|
|
|
TValue *rc = RKC(i);
|
|
|
- TString *key = tsvalue(rb); /* key must be a string */
|
|
|
+ TString *key = tsvalue(rb); /* key must be a short string */
|
|
|
if (luaV_fastget(L, s2v(ra), key, slot, luaH_getshortstr)) {
|
|
|
luaV_finishfastset(L, s2v(ra), slot, rc);
|
|
|
}
|