aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/InstructionReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-22 18:08:30 +0000
committerChris Lattner <sabre@nondot.org>2003-05-22 18:08:30 +0000
commit12e6465d89e24c0b20d7496bb1c0129f47dff6ce (patch)
tree9feac768ee1366a50a9f7eae91f11dc3eb83f05c /lib/Bytecode/Reader/InstructionReader.cpp
parent8a879a16cffbd6e379ea041f759d1f7fa1631496 (diff)
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
Diffstat (limited to 'lib/Bytecode/Reader/InstructionReader.cpp')
-rw-r--r--lib/Bytecode/Reader/InstructionReader.cpp6
1 files changed, 4 insertions, 2 deletions
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;