diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-10-03 14:53:21 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-10-03 14:53:21 +0000 | 
| commit | ef9c23f2812322ae5c5f3140bfbcf92629d7ff47 (patch) | |
| tree | c87db095661379f13a39bf1dee52af9ded6a23a3 /lib/Bytecode/Reader/InstructionReader.cpp | |
| parent | da257162968820a7fd77a9df44e3f72090a7f13a (diff) | |
* Both Method & GlobalVariable now subclass GlobalValue
* ConstPoolPointerReference now represents a pointer to a GlobalValue
* Methods name references are now explicit pointers to methods
* Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/InstructionReader.cpp')
| -rw-r--r-- | lib/Bytecode/Reader/InstructionReader.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index b6eec66491..5697b2620f 100644 --- 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->getType()->getParamTypes(); +    const MethodType::ParamTypes &PL = M->getMethodType()->getParamTypes(); -    if (!M->getType()->isVarArg()) { +    if (!M->getMethodType()->isVarArg()) {        MethodType::ParamTypes::const_iterator It = PL.begin();        switch (Raw.NumOperands) {  | 
