diff options
-rw-r--r-- | lib/VMCore/Instruction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index ffad11b148..2a740fcc95 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -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(); |