Merge pull request #482 from aitjcize/threaded

Use computed goto instead of switching op-codes.
pull/481/merge
Damien George 2014-04-14 19:45:37 +01:00
commit 1da8a6cfc7
2 zmienionych plików z 751 dodań i 639 usunięć

1388
py/vm.c

Plik diff jest za duży Load Diff

Wyświetl plik

@ -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)