1 ; This testcase used to fail due to a lack of this diff in Value.cpp:
2 ; diff -r1.16 Value.cpp
4 ; < #include "llvm/Type.h"
6 ; > #include "llvm/DerivedTypes.h"
8 ; < assert(Ty.get() == (const Type*)OldTy &&"Can't refine anything but my type!");
10 ; > assert(Ty.get() == OldTy &&"Can't refine anything but my type!");
11 ; > if (OldTy == NewTy && !OldTy->isAbstract())
12 ; > Ty.removeUserFromConcrete();
14 ; This was causing an assertion failure, due to the "foo" Method object never releasing
15 ; it's reference to the opaque %bb value.
17 declare void "foo"(%bb)
19 %exception_descriptor = type opaque
23 %exception_descriptor = type int