[llvm-commits] [llvm-gcc-4.2] r100220 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Chris Lattner
sabre at nondot.org
Fri Apr 2 13:22:32 PDT 2010
Author: lattner
Date: Fri Apr 2 15:22:31 2010
New Revision: 100220
URL: http://llvm.org/viewvc/llvm-project?rev=100220&view=rev
Log:
NewDebugLoc -> DebugLoc.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=100220&r1=100219&r2=100220&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Fri Apr 2 15:22:31 2010
@@ -471,7 +471,7 @@
Instruction *Call = DebugFactory.InsertDeclare(AI, D,
Builder.GetInsertBlock());
- Call->setDebugLoc(NewDebugLoc::get(CurLineNo, 0, VarScope.getNode()));
+ Call->setDebugLoc(DebugLoc::get(CurLineNo, 0, VarScope.getNode()));
}
@@ -521,7 +521,7 @@
if (RegionStack.empty())
return;
MDNode *Scope = cast<MDNode>(RegionStack.back());
- Builder.SetCurrentDebugLocation(NewDebugLoc::get(CurLineNo,0/*col*/,Scope));
+ Builder.SetCurrentDebugLocation(DebugLoc::get(CurLineNo,0/*col*/,Scope));
}
}
More information about the llvm-commits
mailing list