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

Unified Diff: gcc/gcc/regrename.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/recog.c ('k') | gcc/gcc/reload.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/regrename.c
diff --git a/gcc/gcc/regrename.c b/gcc/gcc/regrename.c
index 0d92b1e2069c431447b16f9225bc0bd7aed9a934..c678a093ca92613f6082455cd2e02e821c88c65e 100644
--- a/gcc/gcc/regrename.c
+++ b/gcc/gcc/regrename.c
@@ -25,7 +25,6 @@
#include "rtl.h"
#include "tm_p.h"
#include "insn-config.h"
-#include "insn-attr.h"
#include "regs.h"
#include "addresses.h"
#include "hard-reg-set.h"
@@ -771,12 +770,8 @@ build_def_use (basic_block bb)
icode = recog_memoized (insn);
extract_insn (insn);
- 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--;
preprocess_constraints ();
alt = which_alternative;
n_ops = recog_data.n_operands;
@@ -1604,14 +1599,9 @@ copyprop_hardreg_forward_1 (basic_block bb, struct value_data *vd)
set = single_set (insn);
extract_insn (insn);
-
- if (insn_is_nacl_lea(insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND++;
if (! constrain_operands (1))
fatal_insn_not_found (insn);
preprocess_constraints ();
- if (insn_is_nacl_lea(insn))
- NACL_LEA_MATCH_ADDRESS_OPERAND--;
alt = which_alternative;
n_ops = recog_data.n_operands;
is_asm = asm_noperands (PATTERN (insn)) >= 0;
« no previous file with comments | « gcc/gcc/recog.c ('k') | gcc/gcc/reload.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698