Fix a typo and a grammaro in a comment.
authorDan Gohman <gohman@apple.com>
Tue, 7 Jul 2009 20:47:48 +0000 (20:47 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 7 Jul 2009 20:47:48 +0000 (20:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74947 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instructions.h

index 59ae6100d2cdc97830fad4fa98625f338ce0cac4..4419fbd6a9d40da4a98526e6429160215be63fe9 100644 (file)
@@ -51,7 +51,7 @@ public:
   ///
   bool isArrayAllocation() const;
 
-  /// getArraySize - Get the number of element allocated, for a simple
+  /// getArraySize - Get the number of elements allocated. For a simple
   /// allocation of a single element, this will return a constant 1 value.
   ///
   const Value *getArraySize() const { return getOperand(0); }