diff options
Diffstat (limited to 'tools/opt/AnalysisWrappers.cpp')
-rw-r--r-- | tools/opt/AnalysisWrappers.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/opt/AnalysisWrappers.cpp b/tools/opt/AnalysisWrappers.cpp index a674e7c8fb..027866beee 100644 --- a/tools/opt/AnalysisWrappers.cpp +++ b/tools/opt/AnalysisWrappers.cpp @@ -71,20 +71,20 @@ namespace { OS << *I; if ((*I)->getType() == Type::VoidTy) continue; - analysis::ExprType R = analysis::ClassifyExpression(*I); + ExprType R = ClassifyExpression(*I); if (R.Var == *I) continue; // Doesn't tell us anything OS << "\t\tExpr ="; switch (R.ExprTy) { - case analysis::ExprType::ScaledLinear: + case ExprType::ScaledLinear: WriteAsOperand(OS << "(", (Value*)R.Scale) << " ) *"; // fall through - case analysis::ExprType::Linear: + case ExprType::Linear: WriteAsOperand(OS << "(", R.Var) << " )"; if (R.Offset == 0) break; else OS << " +"; // fall through - case analysis::ExprType::Constant: + case ExprType::Constant: if (R.Offset) WriteAsOperand(OS, (Value*)R.Offset); else OS << " 0"; break; |