Merge pull request #482 from aitjcize/threaded

Use computed goto instead of switching op-codes.
This commit is contained in:
Damien George 2014-04-14 19:45:37 +01:00
commit 1da8a6cfc7
2 changed files with 751 additions and 639 deletions

1388
py/vm.c

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@ QSTR_DEFS = qstrdefsport.h
include ../py/py.mk
# compiler settings
CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT)
CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) -DMICROPY_USE_COMPUTED_GOTO
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)