summaryrefslogtreecommitdiff
path: root/src/pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pass.h')
-rw-r--r--src/pass.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pass.h b/src/pass.h
index a9b14907b..0d0b14883 100644
--- a/src/pass.h
+++ b/src/pass.h
@@ -153,6 +153,7 @@ struct PassRunner {
PassRunner(const PassRunner&) = delete;
PassRunner& operator=(const PassRunner&) = delete;
+ void setOptions(PassOptions newOptions) { options = newOptions; }
void setDebug(bool debug) {
options.debug = debug;
// validate everything by default if debugging