projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e4523
)
getMethodType is now just getType
author
Chris Lattner
<sabre@nondot.org>
Mon, 10 Sep 2001 20:08:52 +0000
(20:08 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 10 Sep 2001 20:08:52 +0000
(20:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@538
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/InstructionReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/InstructionReader.cpp
b/lib/Bytecode/Reader/InstructionReader.cpp
index ed5a54d392ef273bbbec584acd7b1c67e04940be..8c3e08ff94e4f5940cac3e98cf0ca8a580749319 100644
(file)
--- a/
lib/Bytecode/Reader/InstructionReader.cpp
+++ b/
lib/Bytecode/Reader/InstructionReader.cpp
@@
-197,9
+197,9
@@
bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf,
if (M == 0) return failure(true);
vector<Value *> Params;
- const MethodType::ParamTypes &PL = M->get
Method
Type()->getParamTypes();
+ const MethodType::ParamTypes &PL = M->getType()->getParamTypes();
- if (!M->getType()->is
MethodType()->is
VarArg()) {
+ if (!M->getType()->isVarArg()) {
MethodType::ParamTypes::const_iterator It = PL.begin();
switch (Raw.NumOperands) {