Commit 930ef5ed authored by Matthias Braun's avatar Matthias Braun
Browse files

return ident in get_ASM_text

[r14269]
parent 1846bcc7
......@@ -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. */
......
......@@ -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: ");
......
......@@ -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. */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment