mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
...
This commit is contained in:
parent
24fdd20eec
commit
3b76266c6a
@ -1189,7 +1189,7 @@ static void Ctx__revert_last_emit_(Ctx* self) {
|
||||
}
|
||||
|
||||
static int Ctx__emit_int(Ctx* self, int64_t value, int line) {
|
||||
if((int16_t)value == value) {
|
||||
if(INT16_MIN <= value && value <= INT16_MAX) {
|
||||
return Ctx__emit_(self, OP_LOAD_SMALL_INT, (uint16_t)value, line);
|
||||
} else {
|
||||
py_TValue tmp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user