Fix several comments which had previously been "the the" where a
authorDan Gohman <gohman@apple.com>
Wed, 10 Feb 2010 20:04:19 +0000 (20:04 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 10 Feb 2010 20:04:19 +0000 (20:04 +0000)
different word was intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95795 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/JITCodeEmitter.h
include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/MachineCodeEmitter.h
include/llvm/CodeGen/ObjectCodeEmitter.h
include/llvm/Support/IRBuilder.h
lib/CodeGen/CodePlacementOpt.cpp
lib/VMCore/IRBuilder.cpp

index 525ce479164d647a8b65075de57ca62cedb2286b..0a1d4f47e98000aa826158f62fb4d4496feab7f4 100644 (file)
@@ -146,7 +146,7 @@ public:
     }
   }
 
-  /// emitAlignment - Move the CurBufferPtr pointer up the specified
+  /// emitAlignment - Move the CurBufferPtr pointer up to the specified
   /// alignment (saturated to BufferEnd of course).
   void emitAlignment(unsigned Alignment) {
     if (Alignment == 0) Alignment = 1;
index 3d6c9bcd08450d626fb29a39198e06449f0b923f..512c94d87cc8913b1fd2f1718fa7463b384e64a8 100644 (file)
@@ -320,7 +320,7 @@ namespace llvm {
     /// advanceTo - Advance the specified iterator to point to the LiveRange
     /// containing the specified position, or end() if the position is past the
     /// end of the interval.  If no LiveRange contains this position, but the
-    /// position is in a hole, this method returns an iterator pointing the
+    /// position is in a hole, this method returns an iterator pointing to the
     /// LiveRange immediately after the hole.
     iterator advanceTo(iterator I, SlotIndex Pos) {
       if (Pos >= endIndex())
index 115aecc2b23f7c996d49019780cfbcff4be9d63a..48b4082ef9a5805b9769bfc5dd80323be939da21 100644 (file)
@@ -155,7 +155,7 @@ public:
     }
   }
 
-  /// emitAlignment - Move the CurBufferPtr pointer up the specified
+  /// emitAlignment - Move the CurBufferPtr pointer up to the specified
   /// alignment (saturated to BufferEnd of course).
   void emitAlignment(unsigned Alignment) {
     if (Alignment == 0) Alignment = 1;
index 3caa74725cd04495dba280af4d2c6beaa9acd931..170c0c8ed3be93c77dbe3c0a0c8b4507870fea53 100644 (file)
@@ -81,7 +81,7 @@ public:
   /// written to the data stream in big-endian format.
   void emitDWordBE(uint64_t W);
 
-  /// emitAlignment - Move the CurBufferPtr pointer up the specified
+  /// emitAlignment - Move the CurBufferPtr pointer up to the specified
   /// alignment (saturated to BufferEnd of course).
   void emitAlignment(unsigned Alignment = 0, uint8_t fill = 0);
 
index 0139793c35f5912f679c1501b8108040a4c2d4bc..c8aef9c094b3a9a71a4a937a2c5ed0dc7a19be9e 100644 (file)
@@ -94,7 +94,7 @@ public:
   //===--------------------------------------------------------------------===//
   
   /// CreateGlobalString - Make a new global variable with an initializer that
-  /// has array of i8 type filled in the nul terminated string value
+  /// has array of i8 type filled in with the nul terminated string value
   /// specified.  If Name is specified, it is the name of the global variable
   /// created.
   Value *CreateGlobalString(const char *Str = "", const Twine &Name = "");
index 05a57d45343f85f7c55a2b9c9b579652feecfd37..a13a310dec97c57bf808e8257c2f80c284e2cd81 100644 (file)
@@ -115,7 +115,7 @@ bool CodePlacementOpt::HasAnalyzableTerminator(MachineBasicBlock *MBB) {
   // Ask the target's AnalyzeBranch if it can handle this block.
   MachineBasicBlock *TBB = 0, *FBB = 0;
   SmallVector<MachineOperand, 4> Cond;
-  // Make the terminator is understood.
+  // Make sure the terminator is understood.
   if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond))
     return false;
   // Make sure we have the option of reversing the condition.
index 4bc3cbb2d6e98c80e75bcd7563dabed1931b323c..9f2786e4e38d67650f8ef93989b18c533241b3a6 100644 (file)
@@ -19,7 +19,7 @@
 using namespace llvm;
 
 /// CreateGlobalString - Make a new global variable with an initializer that
-/// has array of i8 type filled in the nul terminated string value
+/// has array of i8 type filled in with the nul terminated string value
 /// specified.  If Name is specified, it is the name of the global variable
 /// created.
 Value *IRBuilderBase::CreateGlobalString(const char *Str, const Twine &Name) {