[llvm-commits] CVS: llvm/lib/VMCore/Instruction.cpp
Chris Lattner
sabre at nondot.org
Mon Feb 19 11:46:34 PST 2007
Changes in directory llvm/lib/VMCore:
Instruction.cpp updated: 1.68 -> 1.69
---
Log message:
remove warning
---
Diffs of the changes: (+2 -2)
Instruction.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/Instruction.cpp
diff -u llvm/lib/VMCore/Instruction.cpp:1.68 llvm/lib/VMCore/Instruction.cpp:1.69
--- llvm/lib/VMCore/Instruction.cpp:1.68 Mon Feb 19 13:00:29 2007
+++ llvm/lib/VMCore/Instruction.cpp Mon Feb 19 13:46:17 2007
@@ -237,11 +237,11 @@
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();
More information about the llvm-commits
mailing list