diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-29 14:48:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-29 14:48:21 +0000 |
commit | 004caf4ded406c5699eb575337b0ed865483126e (patch) | |
tree | 3cb15a48707f8930913e3e4f2e084262aa00ebe7 /include | |
parent | 3a9ce672898da15aae7fb0e2d3f21fe28a4ee451 (diff) | |
download | llvm-004caf4ded406c5699eb575337b0ed865483126e.tar.gz llvm-004caf4ded406c5699eb575337b0ed865483126e.tar.bz2 llvm-004caf4ded406c5699eb575337b0ed865483126e.tar.xz |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8216 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/InstVisitor.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 932bd91a6a..a1a53280d4 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -78,12 +78,8 @@ struct InstVisitor { ((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 @@ struct InstVisitor { // 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) {} |