Fix some typos 165739, spotted by Duncan.
authorJan Wen Voung <jvoung@google.com>
Thu, 11 Oct 2012 21:45:16 +0000 (21:45 +0000)
committerJan Wen Voung <jvoung@google.com>
Thu, 11 Oct 2012 21:45:16 +0000 (21:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165753 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Reader/BitcodeReader.h
lib/Bitcode/Writer/BitcodeWriter.cpp

index c5e97991b92bddff556b1646698851f767ba66c5..3d5c0eb4def4d309aaaa664e0044660ec2036e9d 100644 (file)
@@ -180,7 +180,7 @@ class BitcodeReader : public GVMaterializer {
   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.
index efa60b8e0763c714af6cf480d8b882e56b114153..60c657ae6dd43585e84c397e2393f80416eaf926 100644 (file)
@@ -1552,7 +1552,7 @@ static void WriteFunction(const Function &F, ValueEnumerator &VE,
 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.