summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-12-20 22:53:58 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-12-20 22:53:58 +0000
commitac4210eacbd3e3011974bb225b215b884f0799ae (patch)
tree03e6f1262a61355754898d15895948b272622774 /llvm/lib/CodeGen/MachineFunction.cpp
parent2ea203694dc84448b8a251d6fc9d84360641564e (diff)
downloadbcm5719-llvm-ac4210eacbd3e3011974bb225b215b884f0799ae.tar.gz
bcm5719-llvm-ac4210eacbd3e3011974bb225b215b884f0799ae.zip
Use two-arg addOperand(MF, MO) internally in MachineInstr when possible.
llvm-svn: 170796
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index b0ccdba4197..0bbacd02f0d 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -158,7 +158,7 @@ MachineInstr *
MachineFunction::CreateMachineInstr(const MCInstrDesc &MCID,
DebugLoc DL, bool NoImp) {
return new (InstructionRecycler.Allocate<MachineInstr>(Allocator))
- MachineInstr(MCID, DL, NoImp);
+ MachineInstr(*this, MCID, DL, NoImp);
}
/// CloneMachineInstr - Create a new MachineInstr which is a copy of the
OpenPOWER on IntegriCloud