[llvm-commits] CVS: llvm/lib/VMCore/BasicBlock.cpp Function.cpp Module.cpp PassManagerT.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 4 23:16:01 PST 2003
Changes in directory llvm/lib/VMCore:
BasicBlock.cpp updated: 1.34 -> 1.35
Function.cpp updated: 1.54 -> 1.55
Module.cpp updated: 1.42 -> 1.43
PassManagerT.h updated: 1.44 -> 1.45
---
Log message:
Make code gcc 3.4 clean
---
Diffs of the changes: (+6 -6)
Index: llvm/lib/VMCore/BasicBlock.cpp
diff -u llvm/lib/VMCore/BasicBlock.cpp:1.34 llvm/lib/VMCore/BasicBlock.cpp:1.35
--- llvm/lib/VMCore/BasicBlock.cpp:1.34 Mon Oct 20 14:43:20 2003
+++ llvm/lib/VMCore/BasicBlock.cpp Tue Nov 4 23:15:42 2003
@@ -56,7 +56,7 @@
// 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
Index: llvm/lib/VMCore/Function.cpp
diff -u llvm/lib/VMCore/Function.cpp:1.54 llvm/lib/VMCore/Function.cpp:1.55
--- llvm/lib/VMCore/Function.cpp:1.54 Mon Oct 20 14:43:21 2003
+++ llvm/lib/VMCore/Function.cpp Tue Nov 4 23:15:42 2003
@@ -43,8 +43,8 @@
// 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
Index: llvm/lib/VMCore/Module.cpp
diff -u llvm/lib/VMCore/Module.cpp:1.42 llvm/lib/VMCore/Module.cpp:1.43
--- llvm/lib/VMCore/Module.cpp:1.42 Mon Oct 20 14:43:21 2003
+++ llvm/lib/VMCore/Module.cpp Tue Nov 4 23:15:42 2003
@@ -47,8 +47,8 @@
// 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>
Index: llvm/lib/VMCore/PassManagerT.h
diff -u llvm/lib/VMCore/PassManagerT.h:1.44 llvm/lib/VMCore/PassManagerT.h:1.45
--- llvm/lib/VMCore/PassManagerT.h:1.44 Tue Oct 21 10:17:13 2003
+++ llvm/lib/VMCore/PassManagerT.h Tue Nov 4 23:15:42 2003
@@ -141,7 +141,7 @@
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
More information about the llvm-commits
mailing list