projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db6faeb
)
Check if it's a scope last, because several things are scopes.
author
Bill Wendling
<isanbard@gmail.com>
Fri, 6 Jul 2012 23:06:16 +0000
(23:06 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 6 Jul 2012 23:06:16 +0000
(23:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159873
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/DebugInfo.cpp
b/lib/VMCore/DebugInfo.cpp
index bb700a94817b399fe9cde00ba15c4e021e514bec..1cecddb6da09de9fa495db52733b85be6c2ea5fd 100644
(file)
--- a/
lib/VMCore/DebugInfo.cpp
+++ b/
lib/VMCore/DebugInfo.cpp
@@
-998,8
+998,6
@@
void DIDescriptor::print(raw_ostream &OS) const {
if (this->isSubrange()) {
DISubrange(DbgNode).printInternal(OS);
- } else if (this->isScope()) {
- DIScope(DbgNode).printInternal(OS);
} else if (this->isCompileUnit()) {
DICompileUnit(DbgNode).printInternal(OS);
} else if (this->isFile()) {
@@
-1020,6
+1018,8
@@
void DIDescriptor::print(raw_ostream &OS) const {
DIVariable(DbgNode).printInternal(OS);
} else if (this->isObjCProperty()) {
DIObjCProperty(DbgNode).printInternal(OS);
+ } else if (this->isScope()) {
+ DIScope(DbgNode).printInternal(OS);
}
}