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
6eb75300
Commit
6eb75300
authored
Apr 11, 2015
by
Damien George
Browse files
py: In emitinlinethumb, use qstr_data instead of qstr_str and strlen.
parent
55fe92bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/emitinlinethumb.c
View file @
6eb75300
...
...
@@ -363,8 +363,8 @@ STATIC void emit_inline_thumb_op(emit_inline_asm_t *emit, qstr op, mp_uint_t n_a
// three_args =
// "subs", RLO, RLO, I3, asm_thumb_subs_reg_reg_i3
const
char
*
op_str
=
qstr_str
(
op
)
;
mp_uint_t
op_len
=
strlen
(
op_str
);
mp_uint_t
op_len
;
const
char
*
op_str
=
(
const
char
*
)
qstr_data
(
op
,
&
op_len
);
if
(
n_args
==
0
)
{
if
(
strcmp
(
op_str
,
"nop"
)
==
0
)
{
...
...
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