Just use << isntead of forcing getStrValue

llvm-svn: 2294
This commit is contained in:
Chris Lattner 2002-04-18 18:14:40 +00:00
parent a2cdf2fb10
commit a20370661f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ std::ostream &operator<<(std::ostream &O, RAV V) { // func to print a Value
if (v->hasName())
return O << v << "(" << v->getName() << ") ";
else if (Constant *C = dyn_cast<Constant>(v))
return O << v << "(" << C->getStrValue() << ") ";
return O << v << "(" << C << ") ";
else
return O << v << " ";
}