Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
930ef5ed
Commit
930ef5ed
authored
Jun 02, 2007
by
Matthias Braun
Browse files
return ident in get_ASM_text
[r14269]
parent
1846bcc7
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/libfirm/irnode.h
View file @
930ef5ed
...
...
@@ -1151,7 +1151,7 @@ typedef struct {
}
ir_asm_constraint
;
/** Return the assembler text of an ASM pseudo node. */
const
char
*
get_ASM_text
(
const
ir_node
*
node
);
ident
*
get_ASM_text
(
const
ir_node
*
node
);
/** Return the number of input constraints for an ASM node. */
int
get_ASM_n_input_constraints
(
const
ir_node
*
node
);
/** Return the input constraints for an ASM node. */
...
...
ir/ir/irdumptxt.c
View file @
930ef5ed
...
...
@@ -342,7 +342,7 @@ int dump_irnode_to_file(FILE *F, ir_node *n) {
ident
**
clobber
;
int
l
;
fprintf
(
F
,
" assembler text: %s"
,
get_ASM_text
(
n
));
fprintf
(
F
,
" assembler text: %s"
,
get_id_str
(
get_ASM_text
(
n
))
)
;
l
=
get_ASM_n_input_constraints
(
n
);
if
(
l
>
0
)
{
fprintf
(
F
,
"
\n
inputs: "
);
...
...
ir/ir/irnode.c
View file @
930ef5ed
...
...
@@ -2336,9 +2336,9 @@ void set_Pin_op(ir_node *pin, ir_node *node) {
}
/* Return the assembler text of an ASM pseudo node. */
const
char
*
get_ASM_text
(
const
ir_node
*
node
)
{
ident
*
get_ASM_text
(
const
ir_node
*
node
)
{
assert
(
node
->
op
==
op_ASM
);
return
get_id_str
(
node
->
attr
.
assem
.
asm_text
)
;
return
node
->
attr
.
assem
.
asm_text
;
}
/* Return the number of input constraints for an ASM node. */
...
...
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