Index: src/IceOperand.cpp |
diff --git a/src/IceOperand.cpp b/src/IceOperand.cpp |
index a6a3c09038e86454fca5f432d14337b17f8b0c1b..102fe7df9bea80a48dd457a56230956605bce71c 100644 |
--- a/src/IceOperand.cpp |
+++ b/src/IceOperand.cpp |
@@ -399,15 +399,15 @@ void Variable::dump(const Cfg *Func, Ostream &Str) const { |
Str << "%" << getName(Func); |
return; |
} |
- if (Func->getContext()->isVerbose(IceV_RegOrigins) || |
+ if (Func->isVerbose(IceV_RegOrigins) || |
(!hasReg() && !Func->getTarget()->hasComputedFrame())) |
Str << "%" << getName(Func); |
if (hasReg()) { |
- if (Func->getContext()->isVerbose(IceV_RegOrigins)) |
+ if (Func->isVerbose(IceV_RegOrigins)) |
Str << ":"; |
Str << Func->getTarget()->getRegName(RegNum, getType()); |
} else if (Func->getTarget()->hasComputedFrame()) { |
- if (Func->getContext()->isVerbose(IceV_RegOrigins)) |
+ if (Func->isVerbose(IceV_RegOrigins)) |
Str << ":"; |
Str << "[" << Func->getTarget()->getRegName( |
Func->getTarget()->getFrameOrStackReg(), IceType_i32); |