diff options
-rw-r--r-- | tools/analyze/analyze.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/analyze/analyze.cpp b/tools/analyze/analyze.cpp index 6d35f3e085..baad23787b 100644 --- a/tools/analyze/analyze.cpp +++ b/tools/analyze/analyze.cpp @@ -44,10 +44,10 @@ static void PrintClassifiedExprs(Method *M) { cout << "\t\tExpr ="; switch (R.ExprTy) { case analysis::ExprType::ScaledLinear: - WriteAsOperand(cout, (Value*)R.Scale) << " *"; + WriteAsOperand(cout << "(", (Value*)R.Scale) << " ) *"; // fall through case analysis::ExprType::Linear: - WriteAsOperand(cout, R.Var); + WriteAsOperand(cout << "(", R.Var) << " )"; if (R.Offset == 0) break; else cout << " +"; // fall through |