diff options
Diffstat (limited to 'src/passes/CodePushing.cpp')
-rw-r--r-- | src/passes/CodePushing.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/passes/CodePushing.cpp b/src/passes/CodePushing.cpp index 29a3ae743..682f025c8 100644 --- a/src/passes/CodePushing.cpp +++ b/src/passes/CodePushing.cpp @@ -234,6 +234,11 @@ private: struct CodePushing : public WalkerPass<PostWalker<CodePushing>> { bool isFunctionParallel() override { return true; } + // This pass moves code forward in blocks, but a local.set would not be moved + // after a local.get with the same index (effects prevent breaking things that + // way), so validation will be preserved. + bool requiresNonNullableLocalFixups() override { return false; } + Pass* create() override { return new CodePushing; } LocalAnalyzer analyzer; |