summaryrefslogtreecommitdiff
path: root/src/passes/Directize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Directize.cpp')
-rw-r--r--src/passes/Directize.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/passes/Directize.cpp b/src/passes/Directize.cpp
index ba99d62e9..21254cda7 100644
--- a/src/passes/Directize.cpp
+++ b/src/passes/Directize.cpp
@@ -208,8 +208,7 @@ struct Directize : public Pass {
// TODO: consider a per-table option here
auto initialContentsImmutable =
- getPassOptions().getArgumentOrDefault(
- "directize-initial-contents-immutable", "") != "";
+ getPassOptions().hasArgument("directize-initial-contents-immutable");
// Set up the initial info.
TableInfoMap tables;