diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-09-11 22:34:13 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-09-11 22:34:13 +0000 |
commit | acda7df68b64102131b4e302c80c842e0d30b870 (patch) | |
tree | fca53936883f10fc746d3af85c6f1f7642adef54 /llvm/lib/Bytecode/Writer | |
parent | cce81be1e19c7125695bc673a3b69afa7fdb2f25 (diff) | |
download | bcm5719-llvm-acda7df68b64102131b4e302c80c842e0d30b870.tar.gz bcm5719-llvm-acda7df68b64102131b4e302c80c842e0d30b870.zip |
Fixed spelling and grammar.
llvm-svn: 8489
Diffstat (limited to 'llvm/lib/Bytecode/Writer')
-rw-r--r-- | llvm/lib/Bytecode/Writer/InstructionWriter.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/Bytecode/Writer/Writer.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Bytecode/Writer/InstructionWriter.cpp b/llvm/lib/Bytecode/Writer/InstructionWriter.cpp index 64dc65e9d69..da32c03e70a 100644 --- a/llvm/lib/Bytecode/Writer/InstructionWriter.cpp +++ b/llvm/lib/Bytecode/Writer/InstructionWriter.cpp @@ -52,7 +52,7 @@ static void outputInstructionFormat0(const Instruction *I, unsigned Opcode, } -// 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 @@ void BytecodeWriter::processInstruction(const Instruction &I) { } // 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); } diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp index 096dc69895c..b119c3d7f7d 100644 --- a/llvm/lib/Bytecode/Writer/Writer.cpp +++ b/llvm/lib/Bytecode/Writer/Writer.cpp @@ -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 @@ void BytecodeWriter::outputConstants(bool isFunction) { 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) { |