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
db1ac360
Commit
db1ac360
authored
Jan 01, 2015
by
Paul Sokolovsky
Browse files
emitnative: Disable warning in delete_fast for now (breaks test).
parent
8a8c1fc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/emitnative.c
View file @
db1ac360
...
...
@@ -1636,7 +1636,9 @@ STATIC void emit_native_store_subscr(emit_t *emit) {
STATIC
void
emit_native_delete_fast
(
emit_t
*
emit
,
qstr
qst
,
mp_uint_t
local_num
)
{
// TODO implement me!
// could support for Python types, just set to None (so GC can reclaim it)
mp_emitter_warning
(
emit
->
pass
,
"Native codegeneration doesn't support deleting local"
);
// local is automatically deleted for exception block "as" var, and the message
// breaks tests.
//mp_emitter_warning(emit->pass, "Native codegeneration doesn't support deleting local");
}
STATIC
void
emit_native_delete_deref
(
emit_t
*
emit
,
qstr
qst
,
mp_uint_t
local_num
)
{
...
...
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