summaryrefslogtreecommitdiff
path: root/src/pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pass.h')
-rw-r--r--src/pass.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pass.h b/src/pass.h
index 384dcf791..159d1c765 100644
--- a/src/pass.h
+++ b/src/pass.h
@@ -98,9 +98,12 @@ struct PassRunner {
PassRunner(const PassRunner&) = delete;
PassRunner& operator=(const PassRunner&) = delete;
- void setDebug(bool debug_) {
- options.debug = debug_;
- options.validateGlobally = debug_; // validate everything by default if debugging
+ void setDebug(bool debug) {
+ options.debug = debug;
+ options.validateGlobally = debug; // validate everything by default if debugging
+ }
+ void setDebugInfo(bool debugInfo) {
+ options.debugInfo = debugInfo;
}
void setValidateGlobally(bool validate) {
options.validateGlobally = validate;