diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-01-30 18:18:23 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-01-30 18:18:23 +0000 |
commit | 29cfb67e281166c0e47dcc294da211482bfba3ce (patch) | |
tree | 68f896f87a4cb00770becc91c15c94085995ea45 /llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp | |
parent | 57412cacb6726b209d5ac151192e5940192143bf (diff) | |
download | bcm5719-llvm-29cfb67e281166c0e47dcc294da211482bfba3ce.tar.gz bcm5719-llvm-29cfb67e281166c0e47dcc294da211482bfba3ce.zip |
Even though InsertAtEndOfBasicBlock is an ugly hack it still deserves a proper name. Rename it to EmitInstrWithCustomInserter since it does not necessarily insert
instruction at the end.
llvm-svn: 46562
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp index 7c3e2a72204..f8dfbe3efaa 100644 --- a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp @@ -121,8 +121,8 @@ namespace { LowerCallTo(SDOperand Chain, const Type *RetTy, bool RetTyIsSigned, bool isVarArg, unsigned CC, bool isTailCall, SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG); - virtual MachineBasicBlock *InsertAtEndOfBasicBlock(MachineInstr *MI, - MachineBasicBlock *MBB); + virtual MachineBasicBlock *EmitInstrWithCustomInserter(MachineInstr *MI, + MachineBasicBlock *MBB); virtual const char *getTargetNodeName(unsigned Opcode) const; }; @@ -895,8 +895,8 @@ LowerOperation(SDOperand Op, SelectionDAG &DAG) { } MachineBasicBlock * -SparcTargetLowering::InsertAtEndOfBasicBlock(MachineInstr *MI, - MachineBasicBlock *BB) { +SparcTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI, + MachineBasicBlock *BB) { const TargetInstrInfo &TII = *getTargetMachine().getInstrInfo(); unsigned BROpcode; unsigned CC; |