diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-09-02 19:14:12 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-09-02 19:14:12 +0000 |
| commit | 99b9ddead7b77d7cd9f803472ec0c030ac2d4f15 (patch) | |
| tree | 8696a27b0369e255eff07fb229f8f076c9389c59 /llvm | |
| parent | 2a36482e74555473fed0d8c1409cf99f0b640da4 (diff) | |
| download | bcm5719-llvm-99b9ddead7b77d7cd9f803472ec0c030ac2d4f15.tar.gz bcm5719-llvm-99b9ddead7b77d7cd9f803472ec0c030ac2d4f15.zip | |
Ugh, fix bugs. Ok, so the last fix wasn't as great as I thought it was.
Now we're back to: 131.730u, 0.330s, which is still quite an improvement,
but still quite unacceptable
llvm-svn: 8322
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/VMCore/Type.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Type.cpp b/llvm/lib/VMCore/Type.cpp index 4d838e2151d..be5c66698b1 100644 --- a/llvm/lib/VMCore/Type.cpp +++ b/llvm/lib/VMCore/Type.cpp @@ -372,6 +372,7 @@ PointerType::PointerType(const Type *E) : SequentialType(PointerTyID, E) { } OpaqueType::OpaqueType() : DerivedType(OpaqueTyID) { + Recursive = false; setAbstract(true); #ifdef DEBUG_MERGE_TYPES std::cerr << "Derived new type: " << getDescription() << "\n"; @@ -426,7 +427,9 @@ static void getTypeProps(const Type *Ty, std::vector<const Type *> &TypeStack, void DerivedType::setDerivedTypeProperties() { std::vector<const Type *> TypeStack; bool isAbstract = false, isRecursive = false; - + + setAbstract(true); + setRecursive(true); getTypeProps(this, TypeStack, isAbstract, isRecursive); setAbstract(isAbstract); setRecursive(isRecursive); |

