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:
a3ad5b2
)
Follow the pattern of all other atu's
author
Chris Lattner
<sabre@nondot.org>
Wed, 3 Sep 2003 16:01:54 +0000
(16:01 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 3 Sep 2003 16:01:54 +0000
(16:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8340
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/ConstantReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/ConstantReader.cpp
b/lib/Bytecode/Reader/ConstantReader.cpp
index d52e5a67cc0066e0617d82dcb2570cd32edb2b01..fb2aa3f50e75ae323e648c2068b4b94af7cc61b0 100644
(file)
--- a/
lib/Bytecode/Reader/ConstantReader.cpp
+++ b/
lib/Bytecode/Reader/ConstantReader.cpp
@@
-110,12
+110,8
@@
void BytecodeParser::refineAbstractType(const DerivedType *OldType,
"Can't refine a type I don't know about!");
}
- if (OldType == NewType) {
- assert(!OldType->isAbstract());
- I->removeUserFromConcrete();
- } else {
- *I = NewType; // Update to point to new, more refined type.
- }
+ I->removeUserFromConcrete();
+ *I = NewType; // Update to point to new, more refined type.
}