Fix some typos 165739, spotted by Duncan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jan Wen Voung 2012-10-11 21:45:16 +00:00
parent fb384d61c7
commit 7b8d94933d
2 changed files with 2 additions and 2 deletions

View 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.

View 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.