diff options
Diffstat (limited to 'src/ir/utils.h')
-rw-r--r-- | src/ir/utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir/utils.h b/src/ir/utils.h index cad4a78aa..b7cd65e19 100644 --- a/src/ir/utils.h +++ b/src/ir/utils.h @@ -119,6 +119,10 @@ struct ReFinalize : public WalkerPass<PostWalker<ReFinalize, OverriddenVisitor<ReFinalize>>> { bool isFunctionParallel() override { return true; } + // Re-running finalize() does not change the types of locals, so validation is + // preserved. + bool requiresNonNullableLocalFixups() override { return false; } + Pass* create() override { return new ReFinalize; } ReFinalize() { name = "refinalize"; } |