summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pass.h b/src/pass.h
index 20e099334..924d608b9 100644
--- a/src/pass.h
+++ b/src/pass.h
@@ -101,7 +101,7 @@ struct PassOptions {
// Whether to run the validator to check for errors.
bool validate = true;
// When validating validate globally and not just locally
- bool validateGlobally = false;
+ bool validateGlobally = true;
// 0, 1, 2 correspond to -O0, -O1, -O2, etc.
int optimizeLevel = 0;
// 0, 1, 2 correspond to -O0, -Os, -Oz