projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e3af9
)
Erm. Would be nice to initialize this variable. . .
author
Bill Wendling
<isanbard@gmail.com>
Tue, 3 Feb 2009 22:55:54 +0000
(22:55 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 3 Feb 2009 22:55:54 +0000
(22:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63677
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineFunction.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineFunction.cpp
b/lib/CodeGen/MachineFunction.cpp
index fc9aa843e7889413d2e0c22f0a6b366ae64dac7b..38dd4033fb93b6087a53ef8ed0564f4312bdc1d5 100644
(file)
--- a/
lib/CodeGen/MachineFunction.cpp
+++ b/
lib/CodeGen/MachineFunction.cpp
@@
-398,7
+398,7
@@
unsigned MachineFunction::getOrCreateDebugLocID(unsigned Src, unsigned Line,
/// 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];