summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instruction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-19 19:46:17 +0000
committerChris Lattner <sabre@nondot.org>2007-02-19 19:46:17 +0000
commit86358635e5b0207b8035dd15f4d4c3dc40e58041 (patch)
treeac51238ede05960320c793ca7a22b8331316354b /llvm/lib/VMCore/Instruction.cpp
parent0a02f827671d4c520f85b8155db5d7173f72e100 (diff)
downloadbcm5719-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.cpp4
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();
OpenPOWER on IntegriCloud