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

Unified Diff: gcc/gcc/postreload.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/ira.c ('k') | gcc/gcc/recog.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/postreload.c
diff --git a/gcc/gcc/postreload.c b/gcc/gcc/postreload.c
index 782531dd39042689e62b21d7666c3514c285aa79..8abc90f83d9acb2b8693057e090cdf7f12499dd7 100644
--- a/gcc/gcc/postreload.c
+++ b/gcc/gcc/postreload.c
@@ -30,7 +30,6 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "obstack.h"
#include "insn-config.h"
-#include "insn-attr.h"
#include "flags.h"
#include "function.h"
#include "expr.h"
@@ -393,12 +392,8 @@ reload_cse_simplify_operands (rtx insn, rtx testreg)
return 0;
/* Figure out which alternative currently matches. */
- if (insn_is_nacl_lea(insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND++;
if (! constrain_operands (1))
fatal_insn_not_found (insn);
- if (insn_is_nacl_lea(insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
alternative_reject = XALLOCAVEC (int, recog_data.n_alternatives);
alternative_nregs = XALLOCAVEC (int, recog_data.n_alternatives);
@@ -1615,3 +1610,4 @@ struct rtl_opt_pass pass_postreload_cse =
TODO_dump_func /* todo_flags_finish */
}
};
+
« no previous file with comments | « gcc/gcc/ira.c ('k') | gcc/gcc/recog.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698