Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: gcc/gcc/final.c

Issue 2866019: [gcc] Kill NACL_LEA_MATCH_ADDRESS_OPERAND and insn_is_nacl_lea. (Closed) Base URL: ssh://git@chromiumos-git/nacl-toolchain.git
Patch Set: prepare to commit Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/config/i386/i386-protos.h ('k') | gcc/gcc/genattrtab.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/final.c
diff --git a/gcc/gcc/final.c b/gcc/gcc/final.c
index 55592e2c593a57e4b1cebb09b49aef1800def05c..2afa475176882aee876a92107c2e0d88ec8dd012 100644
--- a/gcc/gcc/final.c
+++ b/gcc/gcc/final.c
@@ -2534,12 +2534,8 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
print_rtx_head = "";
}
- if (insn_is_nacl_lea(insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND++;
if (! constrain_operands_cached (1))
fatal_insn_not_found (insn);
- if (insn_is_nacl_lea(insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
/* Some target machines need to prescan each insn before
it is output. */
@@ -2640,11 +2636,7 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
}
/* Output assembler code from the template. */
- if (insn_is_nacl_lea(insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND++;
output_asm_insn (templ, recog_data.operand);
- if (insn_is_nacl_lea(insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
/* If necessary, report the effect that the instruction has on
the unwind info. We've already done this for delay slots
« no previous file with comments | « gcc/gcc/config/i386/i386-protos.h ('k') | gcc/gcc/genattrtab.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698