diff options
author | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-24 18:22:27 +0000 |
---|---|---|
committer | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-24 18:22:27 +0000 |
commit | 8c6af5c66fd2324e32caeb7bddb0f6d54d974020 (patch) | |
tree | 541afad07a054071f9b596da5f93ae365b489e19 /gcc/recog.c | |
parent | f6781b9a0fc84a93aa6ff5a8fd340f48dd9d39c3 (diff) | |
download | gcc-8c6af5c66fd2324e32caeb7bddb0f6d54d974020.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.
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.c | 16 |
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. */ |