diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-02 20:26:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-02 20:26:18 +0000 |
commit | c7b6f035011c2bd8846edf76a8f416cc96c1f94e (patch) | |
tree | 276cb883e7c6b89dbc782b00799af0b1d83f9be0 /lib/Bytecode/Reader/ReaderInternals.h | |
parent | 32002198432e8d701bca76e35a06bfbca94f0701 (diff) |
There is no need for BytecodeParser to be an AbstractTypeUser. Instead, it
can just use PATypeHolders
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r-- | lib/Bytecode/Reader/ReaderInternals.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h index e7154051ea..f7113c0c57 100644 --- a/lib/Bytecode/Reader/ReaderInternals.h +++ b/lib/Bytecode/Reader/ReaderInternals.h @@ -43,7 +43,7 @@ struct LazyFunctionInfo { unsigned FunctionSlot; }; -class BytecodeParser : public AbstractTypeUser, public AbstractModuleProvider { +class BytecodeParser : public AbstractModuleProvider { BytecodeParser(const BytecodeParser &); // DO NOT IMPLEMENT void operator=(const BytecodeParser &); // DO NOT IMPLEMENT public: @@ -116,7 +116,7 @@ private: // All of this data is transient across calls to ParseBytecode // TypesLoaded - This vector mirrors the Values[TypeTyID] plane. It is used // to deal with forward references to types. // - typedef std::vector<PATypeHandle> TypeValuesListTy; + typedef std::vector<PATypeHolder> TypeValuesListTy; TypeValuesListTy ModuleTypeValues; TypeValuesListTy FunctionTypeValues; @@ -189,12 +189,6 @@ private: // resolve all references to the placeholder (if any) for the given value void ResolveReferencesToValue(Value *Val, unsigned Slot); - - - // refineAbstractType - The callback method is invoked when one of the - // elements of TypeValues becomes more concrete... - // - virtual void refineAbstractType(const DerivedType *OldTy, const Type *NewTy); }; template<class SuperType> |