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

Unified Diff: gcc/gcc/ira.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/genattrtab.c ('k') | gcc/gcc/postreload.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/ira.c
diff --git a/gcc/gcc/ira.c b/gcc/gcc/ira.c
index 7295bf925797bf62527bca2685711a1c76e34dbf..a95c8359eeabb41a17fbcb641be0e33ff3adfda6 100644
--- a/gcc/gcc/ira.c
+++ b/gcc/gcc/ira.c
@@ -1317,16 +1317,8 @@ setup_prohibited_mode_move_regs (void)
if (INSN_CODE (move_insn) < 0)
continue;
extract_insn (move_insn);
- if (insn_is_nacl_lea(move_insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND++;
if (! constrain_operands (1))
- {
- if (insn_is_nacl_lea(move_insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
- continue;
- }
- if (insn_is_nacl_lea(move_insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
+ continue;
CLEAR_HARD_REG_BIT (ira_prohibited_mode_move_regs[i], j);
}
}
« no previous file with comments | « gcc/gcc/genattrtab.c ('k') | gcc/gcc/postreload.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698