OSDN Git Service

Add a FIXME for unwritten code.
authorReid Spencer <rspencer@reidspencer.com>
Mon, 19 Feb 2007 19:00:29 +0000 (19:00 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 19 Feb 2007 19:00:29 +0000 (19:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34422 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Instruction.cpp

index 48c73a0..ffad11b 100644 (file)
@@ -239,6 +239,8 @@ bool Instruction::mayWriteToMemory() const {
   case Instruction::Call:
     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: