Skip to content

Commit

Permalink
Fix some typos 165739, spotted by Duncan.
Browse files Browse the repository at this point in the history
llvm-svn: 165753
  • Loading branch information
jvoung committed Oct 11, 2012
1 parent dc12c45 commit 8c9e941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Bitcode/Reader/BitcodeReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8c9e941

Please sign in to comment.