diff options
-rw-r--r-- | lib/VMCore/BasicBlock.cpp | 2 | ||||
-rw-r--r-- | lib/VMCore/Function.cpp | 4 | ||||
-rw-r--r-- | lib/VMCore/Module.cpp | 4 | ||||
-rw-r--r-- | lib/VMCore/PassManagerT.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp index 3110b4d..2458cda 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/lib/VMCore/BasicBlock.cpp @@ -56,7 +56,7 @@ iplist<Instruction> &ilist_traits<Instruction>::getList(BasicBlock *BB) { // Explicit instantiation of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits<Instruction, BasicBlock, Function>; +template class SymbolTableListTraits<Instruction, BasicBlock, Function>; // BasicBlock ctor - If the function parameter is specified, the basic block is diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index b86abfe..f47ecea 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -43,8 +43,8 @@ iplist<Argument> &ilist_traits<Argument>::getList(Function *F) { // Explicit instantiations of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits<Argument, Function, Function>; -template SymbolTableListTraits<BasicBlock, Function, Function>; +template class SymbolTableListTraits<Argument, Function, Function>; +template class SymbolTableListTraits<BasicBlock, Function, Function>; //===----------------------------------------------------------------------===// // Argument Implementation diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index af28bec..e62c83f 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -47,8 +47,8 @@ iplist<GlobalVariable> &ilist_traits<GlobalVariable>::getList(Module *M) { // Explicit instantiations of SymbolTableListTraits since some of the methods // are not in the public header file... -template SymbolTableListTraits<GlobalVariable, Module, Module>; -template SymbolTableListTraits<Function, Module, Module>; +template class SymbolTableListTraits<GlobalVariable, Module, Module>; +template class SymbolTableListTraits<Function, Module, Module>; // Define the GlobalValueRefMap as a struct that wraps a map so that we don't // have Module.h depend on <map> diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h index 157f806..a715f51 100644 --- a/lib/VMCore/PassManagerT.h +++ b/lib/VMCore/PassManagerT.h @@ -141,7 +141,7 @@ class PassManagerT : public PassManagerTraits<UnitType>,public AnalysisResolver{ friend class PassManagerTraits<UnitType>::PassClass; friend class PassManagerTraits<UnitType>::SubPassClass; - friend class Traits; + friend class PassManagerTraits<UnitType>; friend class ImmutablePass; std::vector<PassClass*> Passes; // List of passes to run |