[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ReadConst.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Sep 3 11:03:02 PDT 2003
Changes in directory llvm/lib/Bytecode/Reader:
ReadConst.cpp updated: 1.49 -> 1.50
---
Log message:
Follow the pattern of all other atu's
---
Diffs of the changes:
Index: llvm/lib/Bytecode/Reader/ReadConst.cpp
diff -u llvm/lib/Bytecode/Reader/ReadConst.cpp:1.49 llvm/lib/Bytecode/Reader/ReadConst.cpp:1.50
--- llvm/lib/Bytecode/Reader/ReadConst.cpp:1.49 Wed Jul 23 10:30:01 2003
+++ llvm/lib/Bytecode/Reader/ReadConst.cpp Wed Sep 3 11:01:54 2003
@@ -110,12 +110,8 @@
"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.
}
More information about the llvm-commits
mailing list