summaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorMatt Austern <austern@apple.com>2004-11-24 18:22:27 +0000
committerMatt Austern <austern@gcc.gnu.org>2004-11-24 18:22:27 +0000
commitf5523e6dedd24c21d7127775a6322399eccefcc9 (patch)
tree541afad07a054071f9b596da5f93ae365b489e19 /gcc/recog.c
parent62a4d9428b459473bdb080c9734c1db46e87d6dd (diff)
downloadgcc-f5523e6dedd24c21d7127775a6322399eccefcc9.tar.gz
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. From-SVN: r91185
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. */