Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
b1f692e8
Commit
b1f692e8
authored
Apr 14, 2014
by
AZ Huang
Browse files
Use computed goto instead of switching op-codes.
parent
5904dad8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
py/vm.c
View file @
b1f692e8
This diff is collapsed.
Click to expand it.
unix/Makefile
View file @
b1f692e8
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment