diff options
Diffstat (limited to 'src/passes/GlobalStructInference.cpp')
-rw-r--r-- | src/passes/GlobalStructInference.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/passes/GlobalStructInference.cpp b/src/passes/GlobalStructInference.cpp index b2717b850..e2b3fa0c9 100644 --- a/src/passes/GlobalStructInference.cpp +++ b/src/passes/GlobalStructInference.cpp @@ -57,6 +57,9 @@ namespace wasm { namespace { struct GlobalStructInference : public Pass { + // Only modifies struct.get operations. + bool requiresNonNullableLocalFixups() override { return false; } + // Maps optimizable struct types to the globals whose init is a struct.new of // them. If a global is not present here, it cannot be optimized. std::unordered_map<HeapType, std::vector<Name>> typeGlobals; |