diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-12-20 22:53:58 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-12-20 22:53:58 +0000 |
commit | ac4210eacbd3e3011974bb225b215b884f0799ae (patch) | |
tree | 03e6f1262a61355754898d15895948b272622774 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 2ea203694dc84448b8a251d6fc9d84360641564e (diff) | |
download | bcm5719-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.cpp | 2 |
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 |