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

Misha Brukman brukman at cs.uiuc.edu
Thu Sep 11 17:32:12 PDT 2003


Changes in directory llvm/lib/Bytecode/Writer:

WriteInst.cpp updated: 1.29 -> 1.30
Writer.cpp updated: 1.36 -> 1.37

---
Log message:

Fixed spelling and grammar.


---
Diffs of the changes:

Index: llvm/lib/Bytecode/Writer/WriteInst.cpp
diff -u llvm/lib/Bytecode/Writer/WriteInst.cpp:1.29 llvm/lib/Bytecode/Writer/WriteInst.cpp:1.30
--- llvm/lib/Bytecode/Writer/WriteInst.cpp:1.29	Mon Sep  8 12:58:37 2003
+++ llvm/lib/Bytecode/Writer/WriteInst.cpp	Thu Sep 11 17:31:47 2003
@@ -52,7 +52,7 @@
 }
 
 
-// outputInstrVarArgsCall - Output the obsurdly annoying varargs function calls.
+// outputInstrVarArgsCall - Output the absurdly annoying varargs function calls.
 // This are more annoying than most because the signature of the call does not
 // tell us anything about the types of the arguments in the varargs portion.
 // Because of this, we encode (as type 0) all of the argument types explicitly
@@ -271,6 +271,6 @@
   }
 
   // If we weren't handled before here, we either have a large number of
-  // operands or a large operand index that we are refering to.
+  // operands or a large operand index that we are referring to.
   outputInstructionFormat0(&I, Opcode, Table, Type, Out);
 }


Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.36 llvm/lib/Bytecode/Writer/Writer.cpp:1.37
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.36	Sun Aug 24 08:47:36 2003
+++ llvm/lib/Bytecode/Writer/Writer.cpp	Thu Sep 11 17:31:47 2003
@@ -3,7 +3,7 @@
 // This library implements the functionality defined in llvm/Bytecode/Writer.h
 //
 // Note that this file uses an unusual technique of outputting all the bytecode
-// to a deque of unsigned char's, then copies the deque to an ostream.  The
+// to a deque of unsigned chare, then copies the deque to an ostream.  The
 // reason for this is that we must do "seeking" in the stream to do back-
 // patching, and some very important ostreams that we want to support (like
 // pipes) do not support seeking.  :( :( :(
@@ -143,7 +143,7 @@
       const std::vector<const Value*> &Plane = Table.getPlane(pno);
       if (!Plane.empty()) {              // Skip empty type planes...
         unsigned ValNo = 0;
-        if (isFunction)                  // Don't reemit module constants
+        if (isFunction)                  // Don't re-emit module constants
           ValNo += Table.getModuleLevel(pno);
         
         if (pno >= Type::FirstDerivedTyID) {





More information about the llvm-commits mailing list