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:
37884fc
)
comment cleanup
author
Chris Lattner
<sabre@nondot.org>
Sun, 20 Mar 2005 01:18:00 +0000
(
01:18
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 20 Mar 2005 01:18:00 +0000
(
01:18
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20699
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/Local.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/Local.cpp
b/lib/Analysis/DataStructure/Local.cpp
index 02b5b16a586e80d9126acf2a00b1c8ae28a7aeaa..8eacc1f38e0d852d2433ccb8a53cd18391028764 100644
(file)
--- a/
lib/Analysis/DataStructure/Local.cpp
+++ b/
lib/Analysis/DataStructure/Local.cpp
@@
-223,7
+223,7
@@
DSNodeHandle GraphBuilder::getValueDest(Value &Val) {
// extract the actual value.
DSNode* N;
if (GlobalValue* GV = dyn_cast<GlobalValue>(V)) {
- // Create a new global node for this global variable.
..
+ // Create a new global node for this global variable.
N = createNode(GV->getType()->getElementType());
N->addGlobal(GV);
} else if (Constant *C = dyn_cast<Constant>(V)) {