1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

remove warning

llvm-svn: 34424
This commit is contained in:
Chris Lattner 2007-02-19 19:46:17 +00:00
parent 936deee790
commit 8f9dc788c1

View File

@ -237,11 +237,11 @@ bool Instruction::mayWriteToMemory() const {
case Instruction::VAArg:
return true;
case Instruction::Call:
if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(this)) {
//if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(this)) {
// If the intrinsic doesn't write memory, it is safe.
// FIXME: this is obviously supposed to determine which intrinsics
// don't write to memory, but hasn't been implemented yet.
}
//}
return true;
case Instruction::Load:
return cast<LoadInst>(this)->isVolatile();