diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-24 23:41:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-24 23:41:19 +0000 |
commit | d41952da109565ab11b7f435c39a0c524c75298e (patch) | |
tree | 1d4ea4230853632c1140e69fd84322d2f26937b2 /lib/CodeGen/SelectionDAG/InstrEmitter.h | |
parent | 0623e90398153be61226ad19f1b40d3817874526 (diff) | |
download | external_llvm-d41952da109565ab11b7f435c39a0c524c75298e.zip external_llvm-d41952da109565ab11b7f435c39a0c524c75298e.tar.gz external_llvm-d41952da109565ab11b7f435c39a0c524c75298e.tar.bz2 |
revert 99444/99445. This doesn't cause the failure of
2006-07-19-stwbrx-crash.ll for me, but it's the only likely
patch in the blame list of several bots. Lets see if this
fixes it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/InstrEmitter.h')
-rw-r--r-- | lib/CodeGen/SelectionDAG/InstrEmitter.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/CodeGen/SelectionDAG/InstrEmitter.h b/lib/CodeGen/SelectionDAG/InstrEmitter.h index bd69f0b..eefcd73 100644 --- a/lib/CodeGen/SelectionDAG/InstrEmitter.h +++ b/lib/CodeGen/SelectionDAG/InstrEmitter.h @@ -113,12 +113,7 @@ public: /// void EmitNode(SDNode *Node, bool IsClone, bool IsCloned, DenseMap<SDValue, unsigned> &VRBaseMap, - DenseMap<MachineBasicBlock*, MachineBasicBlock*> *EM) { - if (Node->isMachineOpcode()) - EmitMachineNode(Node, IsClone, IsCloned, VRBaseMap, EM); - else - EmitSpecialNode(Node, IsClone, IsCloned, VRBaseMap); - } + DenseMap<MachineBasicBlock*, MachineBasicBlock*> *EM); /// getBlock - Return the current basic block. MachineBasicBlock *getBlock() { return MBB; } @@ -129,13 +124,6 @@ public: /// InstrEmitter - Construct an InstrEmitter and set it to start inserting /// at the given position in the given block. InstrEmitter(MachineBasicBlock *mbb, MachineBasicBlock::iterator insertpos); - -private: - void EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned, - DenseMap<SDValue, unsigned> &VRBaseMap, - DenseMap<MachineBasicBlock*, MachineBasicBlock*> *EM); - void EmitSpecialNode(SDNode *Node, bool IsClone, bool IsCloned, - DenseMap<SDValue, unsigned> &VRBaseMap); }; } |