diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-19 19:46:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-19 19:46:17 +0000 |
commit | da304d07507d373477a79e9a3259724b35838deb (patch) | |
tree | 8cb6a164890fd4adcd380cab7391c1da0ba743cc | |
parent | e02e5e465b8d3bee69561d114f7584710cccad75 (diff) | |
download | external_llvm-da304d07507d373477a79e9a3259724b35838deb.zip external_llvm-da304d07507d373477a79e9a3259724b35838deb.tar.gz external_llvm-da304d07507d373477a79e9a3259724b35838deb.tar.bz2 |
remove warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34424 91177308-0d34-0410-b5e6-96231b3b80d8
-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 ffad11b..2a740fc 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(); |