diff options
author | Devang Patel <dpatel@apple.com> | 2009-01-13 00:35:13 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-01-13 00:35:13 +0000 |
commit | 5c6e1e3b7dd604fb14c15acd0e77358d72dccfa4 (patch) | |
tree | ff0ce41fa7beaf1322aafe7a0f496f037e75fbda /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 76007e009eda6802bf0c7c561028a7cff2bd9c02 (diff) | |
download | bcm5719-llvm-5c6e1e3b7dd604fb14c15acd0e77358d72dccfa4.tar.gz bcm5719-llvm-5c6e1e3b7dd604fb14c15acd0e77358d72dccfa4.zip |
Use DebugInfo interface to lower dbg_* intrinsics.
llvm-svn: 62127
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 4eb70198817..3688a13034d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -327,7 +327,7 @@ bool SelectionDAGISel::runOnFunction(Function &Fn) { // Mark landing pad. FuncInfo->MBBMap[Invoke->getSuccessor(1)]->setIsLandingPad(); - SelectAllBasicBlocks(Fn, MF, MMI, TII); + SelectAllBasicBlocks(Fn, MF, MMI, DW, TII); // If the first basic block in the function has live ins that need to be // copied into vregs, emit the copies into the top of the block before @@ -696,11 +696,12 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF, MachineModuleInfo *MMI, + DwarfWriter *DW, const TargetInstrInfo &TII) { // Initialize the Fast-ISel state, if needed. FastISel *FastIS = 0; if (EnableFastISel) - FastIS = TLI.createFastISel(*FuncInfo->MF, MMI, + FastIS = TLI.createFastISel(*FuncInfo->MF, MMI, DW, FuncInfo->ValueMap, FuncInfo->MBBMap, FuncInfo->StaticAllocaMap |