diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-02-03 02:20:52 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-02-03 02:20:52 +0000 |
| commit | 135227a060a14062555c32ace1e2a158d153ecb9 (patch) | |
| tree | 51d20393bd8b826ab5f7fb4761f5d2d1c8f59fda /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | fa4e35aca7dba138e9df5f6939238a91f2036486 (diff) | |
| download | bcm5719-llvm-135227a060a14062555c32ace1e2a158d153ecb9.tar.gz bcm5719-llvm-135227a060a14062555c32ace1e2a158d153ecb9.zip | |
Pass in something sensible for the debug location information when creating the
initial PHI nodes of the machine function.
llvm-svn: 63598
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 4b166f862d1..9c53fc9362c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -313,7 +313,7 @@ bool SelectionDAGISel::runOnFunction(Function &Fn) { RegInfo = &MF->getRegInfo(); DOUT << "\n\n\n=== " << Fn.getName() << "\n"; - FuncInfo->set(Fn, *MF, EnableFastISel); + FuncInfo->set(Fn, *MF, *CurDAG, EnableFastISel); MachineModuleInfo *MMI = getAnalysisIfAvailable<MachineModuleInfo>(); DwarfWriter *DW = getAnalysisIfAvailable<DwarfWriter>(); CurDAG->init(*MF, MMI, DW); |

