[llvm-commits] [llvm] r165753 - in /llvm/trunk/lib/Bitcode: Reader/BitcodeReader.h Writer/BitcodeWriter.cpp

Jan Wen Voung jvoung at google.com
Thu Oct 11 14:45:17 PDT 2012


Author: jvoung
Date: Thu Oct 11 16:45:16 2012
New Revision: 165753

URL: http://llvm.org/viewvc/llvm-project?rev=165753&view=rev
Log:
Fix some typos 165739, spotted by Duncan.

Modified:
    llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h
    llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp

Modified: llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h?rev=165753&r1=165752&r2=165753&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h (original)
+++ llvm/trunk/lib/Bitcode/Reader/BitcodeReader.h Thu Oct 11 16:45:16 2012
@@ -180,7 +180,7 @@
   DenseMap<Function*, std::vector<BlockAddrRefTy> > BlockAddrFwdRefs;
 
   /// UseRelativeIDs - Indicates that we are using a new encoding for
-  /// instrunction operands where most operands in the current
+  /// instruction operands where most operands in the current
   /// FUNCTION_BLOCK are encoded relative to the instruction number,
   /// for a more compact encoding.  Some instruction operands are not
   /// relative to the instruction ID: basic block numbers, and types.

Modified: llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp?rev=165753&r1=165752&r2=165753&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp (original)
+++ llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp Thu Oct 11 16:45:16 2012
@@ -1552,7 +1552,7 @@
 static void WriteBlockInfo(const ValueEnumerator &VE, BitstreamWriter &Stream) {
   // We only want to emit block info records for blocks that have multiple
   // instances: CONSTANTS_BLOCK, FUNCTION_BLOCK and VALUE_SYMTAB_BLOCK.
-  // Other blocks can defined their abbrevs inline.
+  // Other blocks can define their abbrevs inline.
   Stream.EnterBlockInfoBlock(2);
 
   { // 8-bit fixed-width VST_ENTRY/VST_BBENTRY strings.





More information about the llvm-commits mailing list