diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-30 22:53:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-30 22:53:53 +0000 |
commit | c74cb8698f1771603a6ab008277a407c55e47753 (patch) | |
tree | 9497db4fb301ee674021fe83d8bfdd8c6392be2e /lib/Transforms/ExprTypeConvert.cpp | |
parent | 2964f3624c38247d1954927754c1933400dae0d6 (diff) |
- Eliminate the last traces of the 'analysis' namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ExprTypeConvert.cpp')
-rw-r--r-- | lib/Transforms/ExprTypeConvert.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index 33aa3cb475..01c8d6f354 100644 --- a/lib/Transforms/ExprTypeConvert.cpp +++ b/lib/Transforms/ExprTypeConvert.cpp @@ -15,7 +15,6 @@ #include "Support/STLExtras.h" #include "Support/StatisticReporter.h" #include <algorithm> -#include <iostream> using std::cerr; static bool OperandConvertableToType(User *U, Value *V, const Type *Ty, @@ -44,7 +43,7 @@ static bool MallocConvertableToType(MallocInst *MI, const Type *Ty, if (!Ty->isSized()) return false; // Can only alloc something with a size // Analyze the number of bytes allocated... - analysis::ExprType Expr = analysis::ClassifyExpression(MI->getArraySize()); + ExprType Expr = ClassifyExpression(MI->getArraySize()); // Get information about the base datatype being allocated, before & after int ReqTypeSize = TD.getTypeSize(Ty); @@ -79,7 +78,7 @@ static Instruction *ConvertMallocToType(MallocInst *MI, const Type *Ty, BasicBlock::iterator It = BB->end(); // Analyze the number of bytes allocated... - analysis::ExprType Expr = analysis::ClassifyExpression(MI->getArraySize()); + ExprType Expr = ClassifyExpression(MI->getArraySize()); const PointerType *AllocTy = cast<PointerType>(Ty); const Type *ElType = AllocTy->getElementType(); |