diff options
author | 2004-12-12 12:14:10 -0700 | |
---|---|---|
committer | 2005-04-07 21:06:03 -0700 | |
commit | 6c90fbe3f50ada4e3c1521c20d842ebd99db5741 (patch) | |
tree | 32d05f2b0aedb02678d386ffcada1f948e296b34 /example.c | |
parent | Start looking at asms in code generation. (diff) | |
download | sparse-6c90fbe3f50ada4e3c1521c20d842ebd99db5741.tar.gz sparse-6c90fbe3f50ada4e3c1521c20d842ebd99db5741.tar.bz2 sparse-6c90fbe3f50ada4e3c1521c20d842ebd99db5741.zip |
Show asm inputs/outputs as bugus instructions as opposed to comments.
They otherwise get drowned out by the _real_ comments.
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -842,7 +842,7 @@ static void generate_asm_inputs(struct bb_state *state, struct asm_constraint_li const char *constraint = entry->constraint; pseudo_t pseudo = entry->pseudo; - output_comment(state, "\"%s\": %s", constraint, show_pseudo(pseudo)); + output_insn(state, "# asm input \"%s\": %s", constraint, show_pseudo(pseudo)); } END_FOR_EACH_PTR(entry); } @@ -857,7 +857,7 @@ static void generate_asm_outputs(struct bb_state *state, struct asm_constraint_l while (*constraint == '=' || *constraint == '+') constraint++; - output_comment(state, "\"%s\": %s", constraint, show_pseudo(pseudo)); + output_insn(state, "# asm output \"%s\": %s", constraint, show_pseudo(pseudo)); } END_FOR_EACH_PTR(entry); } |