diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-22 18:08:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-22 18:08:30 +0000 |
commit | e69a1b986617ce3f0da726c5c207af9177c44dc9 (patch) | |
tree | e7c2202784445675e2aeeea398984728f1db5fa5 /llvm/lib/Bytecode/Reader/InstructionReader.cpp | |
parent | 9a1ad97ba0226a0e1badb3d3f3cac5920e29c550 (diff) | |
download | bcm5719-llvm-e69a1b986617ce3f0da726c5c207af9177c44dc9.tar.gz bcm5719-llvm-e69a1b986617ce3f0da726c5c207af9177c44dc9.zip |
Eliminate the uchar typedef, use unsigned char explicitly
llvm-svn: 6283
Diffstat (limited to 'llvm/lib/Bytecode/Reader/InstructionReader.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Reader/InstructionReader.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Reader/InstructionReader.cpp b/llvm/lib/Bytecode/Reader/InstructionReader.cpp index 2fc52ad71a9..d652af74683 100644 --- a/llvm/lib/Bytecode/Reader/InstructionReader.cpp +++ b/llvm/lib/Bytecode/Reader/InstructionReader.cpp @@ -17,7 +17,8 @@ #include "llvm/iPHINode.h" #include "llvm/iOther.h" -bool BytecodeParser::ParseRawInst(const uchar *&Buf, const uchar *EndBuf, +bool BytecodeParser::ParseRawInst(const unsigned char *&Buf, + const unsigned char *EndBuf, RawInst &Result) { unsigned Op, Typ; if (read(Buf, EndBuf, Op)) return true; @@ -113,7 +114,8 @@ bool BytecodeParser::ParseRawInst(const uchar *&Buf, const uchar *EndBuf, } -bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf, +bool BytecodeParser::ParseInstruction(const unsigned char *&Buf, + const unsigned char *EndBuf, Instruction *&Res, BasicBlock *BB /*HACK*/) { RawInst Raw; |