diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-01 13:46:47 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-01 13:46:47 +0100 |
commit | 3ebd4d0cae58241c963cabd3cbd02fc9ca261a2f (patch) | |
tree | 2556656d19040563240e376a2fe93b85425d4ffd /py/vm.c | |
parent | fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9 (diff) | |
download | micropython-3ebd4d0cae58241c963cabd3cbd02fc9ca261a2f.tar.gz micropython-3ebd4d0cae58241c963cabd3cbd02fc9ca261a2f.zip |
py: Add option to disable set() object (enabled by default).
Diffstat (limited to 'py/vm.c')
-rw-r--r-- | py/vm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -772,6 +772,7 @@ unwind_jump: sp -= 2; DISPATCH(); +#if MICROPY_PY_BUILTINS_SET ENTRY(MP_BC_BUILD_SET): DECODE_UINT; sp -= unum - 1; @@ -784,6 +785,7 @@ unwind_jump: mp_obj_set_store(sp[-unum], sp[0]); sp--; DISPATCH(); +#endif #if MICROPY_PY_BUILTINS_SLICE ENTRY(MP_BC_BUILD_SLICE): |