summaryrefslogtreecommitdiffstats
path: root/gcc/recog.c
diff options
context:
space:
mode:
authoraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-24 18:22:27 +0000
committeraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-24 18:22:27 +0000
commit8c6af5c66fd2324e32caeb7bddb0f6d54d974020 (patch)
tree541afad07a054071f9b596da5f93ae365b489e19 /gcc/recog.c
parentf6781b9a0fc84a93aa6ff5a8fd340f48dd9d39c3 (diff)
downloadppe42-gcc-8c6af5c66fd2324e32caeb7bddb0f6d54d974020.tar.gz
ppe42-gcc-8c6af5c66fd2324e32caeb7bddb0f6d54d974020.zip
Minor back end speedup.
* recog.c (recog_memoized_1): Remove. * recog.h (recog_memoized_1): Remove declaration. (recog_memoized): Change from macro to inline function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91185 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index d39bb849701..056e656901a 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -107,22 +107,6 @@ init_recog (void)
volatile_ok = 1;
}
-/* Try recognizing the instruction INSN,
- and return the code number that results.
- Remember the code so that repeated calls do not
- need to spend the time for actual rerecognition.
-
- This function is the normal interface to instruction recognition.
- The automatically-generated function `recog' is normally called
- through this one. (The only exception is in combine.c.) */
-
-int
-recog_memoized_1 (rtx insn)
-{
- if (INSN_CODE (insn) < 0)
- INSN_CODE (insn) = recog (PATTERN (insn), insn, 0);
- return INSN_CODE (insn);
-}
/* Check that X is an insn-body for an `asm' with operands
and that the operands mentioned in it are legitimate. */
OpenPOWER on IntegriCloud