From 12e6465d89e24c0b20d7496bb1c0129f47dff6ce Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 22 May 2003 18:08:30 +0000 Subject: Eliminate the uchar typedef, use unsigned char explicitly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6283 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/InstructionReader.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/Bytecode/Reader/InstructionReader.cpp') diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index 2fc52ad71a..d652af7468 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/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; -- cgit v1.2.3-18-g5258