diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-07-14 23:05:25 +1000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-07-14 23:05:25 +1000 |
| commit | e94d644a811407cf5f075d4176f689d3225c1d95 (patch) | |
| tree | 8f15eb796de028efc377ef12ce7a7be14cb60f95 /ports/esp8266/modmachine.c | |
| parent | 2a3979bcb3077930056c3cba03f073f55afd510a (diff) | |
py/runtime: Use mp_obj_new_int_from_ll when return int is not small.
There's no need to call mp_obj_new_int() which will just fail the check for
small int and call mp_obj_new_int_from_ll() anyway.
Thanks to @Jongy for prompting this change.
Diffstat (limited to 'ports/esp8266/modmachine.c')
0 files changed, 0 insertions, 0 deletions
