Erm. Would be nice to initialize this variable. . .
llvm-svn: 63677
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index fc9aa84..38dd403 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -398,7 +398,7 @@
/// getDebugLocTuple - Get the DebugLocTuple for a given DebugLoc object.
const DebugLocTuple &MachineFunction::getDebugLocTuple(DebugLoc DL) {
- unsigned Idx;
+ unsigned Idx = DL.getIndex();
assert(Idx < DebugLocInfo.DebugLocations.size() &&
"Invalid index into debug locations!");
return DebugLocInfo.DebugLocations[Idx];