[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp

Misha Brukman brukman at cs.uiuc.edu
Thu Sep 11 17:34:03 PDT 2003


Changes in directory llvm/lib/CWriter:

Writer.cpp updated: 1.124 -> 1.125

---
Log message:

Fixed spelling and grammar.


---
Diffs of the changes:

Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.124 llvm/lib/CWriter/Writer.cpp:1.125
--- llvm/lib/CWriter/Writer.cpp:1.124	Wed Sep 10 15:12:09 2003
+++ llvm/lib/CWriter/Writer.cpp	Thu Sep 11 17:33:18 2003
@@ -886,7 +886,7 @@
     BasicBlock *Prev = BB->getPrev();
 
     // Don't print the label for the basic block if there are no uses, or if the
-    // only terminator use is the precessor basic block's terminator.  We have
+    // only terminator use is the predecessor basic block's terminator.  We have
     // to scan the use list because PHI nodes use basic blocks too but do not
     // require a label to be generated.
     //
@@ -1022,8 +1022,8 @@
   }
 }
 
-// Brach instruction printing - Avoid printing out a brach to a basic block that
-// immediately succeeds the current one.
+// Branch instruction printing - Avoid printing out a branch to a basic block
+// that immediately succeeds the current one.
 //
 void CWriter::visitBranchInst(BranchInst &I) {
   if (I.isConditional()) {
@@ -1155,7 +1155,7 @@
 
       case LLVMIntrinsic::setjmp:
       case LLVMIntrinsic::sigsetjmp:
-        // This instrinsic should never exist in the program, but until we get
+        // This intrinsic should never exist in the program, but until we get
         // setjmp/longjmp transformations going on, we should codegen it to
         // something reasonable.  This will allow code that never calls longjmp
         // to work.





More information about the llvm-commits mailing list