Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
094d4500
Commit
094d4500
authored
Apr 02, 2014
by
Damien George
Browse files
py: Wrap compile_scope_inline_asm in #if; remove comment from misc.h.
parent
70f33cde
Changes
2
Hide whitespace changes
Inline
Side-by-side
py/compile.c
View file @
094d4500
...
...
@@ -2994,6 +2994,7 @@ void compile_scope(compiler_t *comp, scope_t *scope, pass_kind_t pass) {
assert
(
comp
->
cur_except_level
==
0
);
}
#if MICROPY_EMIT_INLINE_THUMB
void
compile_scope_inline_asm
(
compiler_t
*
comp
,
scope_t
*
scope
,
pass_kind_t
pass
)
{
comp
->
pass
=
pass
;
comp
->
scope_cur
=
scope
;
...
...
@@ -3072,6 +3073,7 @@ void compile_scope_inline_asm(compiler_t *comp, scope_t *scope, pass_kind_t pass
EMIT_INLINE_ASM
(
end_pass
);
}
}
#endif
void
compile_scope_compute_things
(
compiler_t
*
comp
,
scope_t
*
scope
)
{
// in functions, turn implicit globals into explicit globals
...
...
py/misc.h
View file @
094d4500
...
...
@@ -54,12 +54,6 @@ bool unichar_isprint(unichar c);
bool
unichar_isdigit
(
unichar
c
);
bool
unichar_isxdigit
(
unichar
c
);
/** string ******************************************************/
/*
#define streq(s1, s2) (strcmp((s1), (s2)) == 0)
*/
/** variable string *********************************************/
typedef
struct
_vstr_t
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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