mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
82390d1f4f
@ -240,7 +240,7 @@ static int lj_carith_meta(lua_State *L, CTState *cts, CDArith *ca, MMS mm)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
for (i = 0; i < 2; i++) {
|
for (i = 0; i < 2; i++) {
|
||||||
if (ca->ct[i]) {
|
if (ca->ct[i] && tviscdata(L->base+i)) {
|
||||||
if (ctype_isenum(ca->ct[i]->info)) isenum = i;
|
if (ctype_isenum(ca->ct[i]->info)) isenum = i;
|
||||||
repr[i] = strdata(lj_ctype_repr(L, ctype_typeid(cts, ca->ct[i]), NULL));
|
repr[i] = strdata(lj_ctype_repr(L, ctype_typeid(cts, ca->ct[i]), NULL));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user