Revert the series of commits starting with r166578 which introduced the
[oota-llvm.git] / lib / VMCore / Value.cpp
index d8711082ff076b0ee1f5896e1cdc459750786361..8d0720dc1223d02cf068814adee6961c93bb2eea 100644 (file)
@@ -394,7 +394,7 @@ static bool isDereferenceablePointer(const Value *V,
   // It's also not always safe to follow a bitcast, for example:
   //   bitcast i8* (alloca i8) to i32*
   // would result in a 4-byte load from a 1-byte alloca. Some cases could
-  // be handled using TargetData to check sizes and alignments though.
+  // be handled using DataLayout to check sizes and alignments though.
 
   // These are obviously ok.
   if (isa<AllocaInst>(V)) return true;