diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-02-03 00:55:04 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-02-03 00:55:04 +0000 |
commit | 5aa0ddb0f8b15d4d0f3e6385908593e977360812 (patch) | |
tree | de315c770a738c7ebf04f1b144df9bd73c330afa /lib/CodeGen/MachineFunction.cpp | |
parent | 38496ebf6f1efb9d29960d40cb9ee9877472cfb5 (diff) | |
download | external_llvm-5aa0ddb0f8b15d4d0f3e6385908593e977360812.tar.gz external_llvm-5aa0ddb0f8b15d4d0f3e6385908593e977360812.tar.bz2 external_llvm-5aa0ddb0f8b15d4d0f3e6385908593e977360812.zip |
Create DebugLoc information in FastISel. Several temporary methods were
created. Specifically, those BuildMIs which use
"DebugLoc::getUnknownLoc()". I'll remove them soon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index b303b1b58c..434034b888 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -192,9 +192,10 @@ void MachineFunction::RenumberBlocks(MachineBasicBlock *MBB) { /// of `new MachineInstr'. /// MachineInstr * -MachineFunction::CreateMachineInstr(const TargetInstrDesc &TID, bool NoImp) { +MachineFunction::CreateMachineInstr(const TargetInstrDesc &TID, + DebugLoc DL, bool NoImp) { return new (InstructionRecycler.Allocate<MachineInstr>(Allocator)) - MachineInstr(TID, NoImp); + MachineInstr(TID, DL, NoImp); } /// CloneMachineInstr - Create a new MachineInstr which is a copy of the |