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 | 86358635e5b0207b8035dd15f4d4c3dc40e58041 (patch) | |
tree | ac51238ede05960320c793ca7a22b8331316354b /llvm/lib/VMCore/Instruction.cpp | |
parent | 0a02f827671d4c520f85b8155db5d7173f72e100 (diff) | |
download | bcm5719-llvm-86358635e5b0207b8035dd15f4d4c3dc40e58041.tar.gz bcm5719-llvm-86358635e5b0207b8035dd15f4d4c3dc40e58041.zip |
remove warning
llvm-svn: 34424
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instruction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp index ffad11b1488..2a740fcc958 100644 --- a/llvm/lib/VMCore/Instruction.cpp +++ b/llvm/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(); |