Browse Source

Merge pull request #482 from aitjcize/threaded

Use computed goto instead of switching op-codes.
pull/481/merge
Damien George 11 years ago
parent
commit
1da8a6cfc7
  1. 1418
      py/vm.c
  2. 2
      unix/Makefile

1418
py/vm.c

File diff suppressed because it is too large

2
unix/Makefile

@ -11,7 +11,7 @@ QSTR_DEFS = qstrdefsport.h
include ../py/py.mk include ../py/py.mk
# compiler settings # 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) UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin) ifeq ($(UNAME_S),Darwin)

Loading…
Cancel
Save