[llvm-commits] CVS: llvm/include/llvm/Support/InstVisitor.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 29 09:49:03 PDT 2003
Changes in directory llvm/include/llvm/Support:
InstVisitor.h updated: 1.19 -> 1.20
---
Log message:
Remove automagic support for Modules. Noone uses it now anyways, and GCC 3.4 doesn't want us to do this unless Module has been #included
---
Diffs of the changes:
Index: llvm/include/llvm/Support/InstVisitor.h
diff -u llvm/include/llvm/Support/InstVisitor.h:1.19 llvm/include/llvm/Support/InstVisitor.h:1.20
--- llvm/include/llvm/Support/InstVisitor.h:1.19 Mon Aug 18 09:28:20 2003
+++ llvm/include/llvm/Support/InstVisitor.h Fri Aug 29 09:48:21 2003
@@ -78,12 +78,8 @@
((SubClass*)this)->visit(*Start++);
}
- // Define visitors for modules, functions and basic blocks...
+ // Define visitors for functions and basic blocks...
//
- void visit(Module &M) {
- ((SubClass*)this)->visitModule(M);
- visit(M.begin(), M.end());
- }
void visit(Function &F) {
((SubClass*)this)->visitFunction(F);
visit(F.begin(), F.end());
@@ -123,7 +119,6 @@
// When visiting a module, function or basic block directly, these methods get
// called to indicate when transitioning into a new unit.
//
- void visitModule (Module &M) {}
void visitFunction (Function &F) {}
void visitBasicBlock(BasicBlock &BB) {}
More information about the llvm-commits
mailing list