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

Unified Diff: gcc/gcc/caller-save.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 | « no previous file | gcc/gcc/config/i386/i386.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/caller-save.c
diff --git a/gcc/gcc/caller-save.c b/gcc/gcc/caller-save.c
index 5bd0611c0ffb0c102f785892627aacb777808028..0c840c3080b5636f367874fdcf46d98dfc52a2fb 100644
--- a/gcc/gcc/caller-save.c
+++ b/gcc/gcc/caller-save.c
@@ -161,17 +161,9 @@ reg_save_code (int reg, enum machine_mode mode)
if (ok)
{
extract_insn (saveinsn);
- if (insn_is_nacl_lea(saveinsn))
- NACL_LEA_MATCH_ADDRESS_OPERAND++;
ok = constrain_operands (1);
- if (insn_is_nacl_lea(saveinsn))
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
extract_insn (restinsn);
- if (insn_is_nacl_lea(restinsn))
- NACL_LEA_MATCH_ADDRESS_OPERAND++;
ok &= constrain_operands (1);
- if (insn_is_nacl_lea(restinsn))
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
}
if (! ok)
« no previous file with comments | « no previous file | gcc/gcc/config/i386/i386.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698