summaryrefslogtreecommitdiff
path: root/src/pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pass.h')
-rw-r--r--src/pass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pass.h b/src/pass.h
index f1f99e3aa..503c164f9 100644
--- a/src/pass.h
+++ b/src/pass.h
@@ -88,6 +88,10 @@ struct PassRunner {
passes.push_back(new P(arg));
}
+ // Adds the default set of optimization passes; this is
+ // what -O does.
+ void addDefaultOptimizationPasses();
+
void run(Module* module);
// Get the last pass that was already executed of a certain type.