diff options
Diffstat (limited to 'src/passes/GlobalRefining.cpp')
-rw-r--r-- | src/passes/GlobalRefining.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/passes/GlobalRefining.cpp b/src/passes/GlobalRefining.cpp index 6f2f19842..626fbaeb5 100644 --- a/src/passes/GlobalRefining.cpp +++ b/src/passes/GlobalRefining.cpp @@ -31,6 +31,9 @@ namespace wasm { namespace { struct GlobalRefining : public Pass { + // Only modifies globals and global.get operations. + bool requiresNonNullableLocalFixups() override { return false; } + void run(PassRunner* runner, Module* module) override { if (!module->features.hasGC()) { return; @@ -102,6 +105,9 @@ struct GlobalRefining : public Pass { struct GetUpdater : public WalkerPass<PostWalker<GetUpdater>> { bool isFunctionParallel() override { return true; } + // Only modifies global.get operations. + bool requiresNonNullableLocalFixups() override { return false; } + GlobalRefining& parent; Module& wasm; |