diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-11 23:52:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-11 23:52:11 +0000 |
commit | d268ad6e2e6c224c688a8e2a51de706e9e6f8165 (patch) | |
tree | 4ac2b4e17d755df0a8479ff79710e48ff1a8ec53 /lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp | |
parent | c2a2396e17f8fd6c78afd81368d2b80e8cfe6c42 (diff) |
Eliminate 'BasicNode' from InstrForest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp')
-rw-r--r-- | lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp b/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp index 492a52f623..ca2bca6584 100644 --- a/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp +++ b/lib/CodeGen/TargetMachine/Sparc/SparcInstrSelection.cpp @@ -9,23 +9,18 @@ // 7/02/01 - Vikram Adve - Created //**************************************************************************/ +#include "llvm/CodeGen/Sparc.h" +#include "llvm/CodeGen/MachineInstr.h" +#include "llvm/CodeGen/InstrForest.h" +#include "llvm/CodeGen/InstrSelection.h" #include "llvm/Support/MathExtras.h" -#include "llvm/Type.h" #include "llvm/DerivedTypes.h" -#include "llvm/SymbolTable.h" -#include "llvm/Value.h" -#include "llvm/Instruction.h" -#include "llvm/InstrTypes.h" #include "llvm/iTerminators.h" #include "llvm/iMemory.h" #include "llvm/iOther.h" #include "llvm/BasicBlock.h" #include "llvm/Method.h" #include "llvm/ConstPoolVals.h" -#include "llvm/CodeGen/Sparc.h" -#include "llvm/CodeGen/MachineInstr.h" -#include "llvm/CodeGen/InstrForest.h" -#include "llvm/CodeGen/InstrSelection.h" //******************** Internal Data Declarations ************************/ @@ -1982,7 +1977,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot, assert(ThisIsAChainRule(ruleForNode)); assert(nts[0] && ! nts[1] && "A chain rule should have only one RHS non-terminal!"); - nextRule = burm_rule(subtreeRoot->getBasicNode()->state, nts[0]); + nextRule = burm_rule(subtreeRoot->state, nts[0]); nts = burm_nts[nextRule]; numInstr = GetInstructionsByRule(subtreeRoot, nextRule, nts,target,mvec); break; |