aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Pass.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2012-11-27 00:53:24 +0000
committerOwen Anderson <resistor@mac.com>2012-11-27 00:53:24 +0000
commit9780d352b9108d49097970f6686fd61aba58d7fc (patch)
tree505571eeebc1e4a3d2487ac867ab3c218f947dc4 /include/llvm/Pass.h
parent6f6b97daf67ba017e5a10125551d5bd39dd80830 (diff)
downloadexternal_llvm-9780d352b9108d49097970f6686fd61aba58d7fc.zip
external_llvm-9780d352b9108d49097970f6686fd61aba58d7fc.tar.gz
external_llvm-9780d352b9108d49097970f6686fd61aba58d7fc.tar.bz2
Revert r168635 "Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model".
It appears to have broken at least one buildbot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r--include/llvm/Pass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index acfc6a2..7b6f169 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -230,7 +230,7 @@ public:
/// doInitialization - Virtual method overridden by subclasses to do
/// any necessary initialization.
///
- virtual bool doInitialization(Module &) { return false; }
+ virtual bool doInitialization() { return false; }
/// runOnModule - Virtual method overriden by subclasses to process the module
/// being operated on.
@@ -239,7 +239,7 @@ public:
/// doFinalization - Virtual method overriden by subclasses to do any post
/// processing needed after all passes have run.
///
- virtual bool doFinalization(Module &) { return false; }
+ virtual bool doFinalization() { return false; }
virtual void assignPassManager(PMStack &PMS,
PassManagerType T);