diff options
Diffstat (limited to 'src/passes/RoundTrip.cpp')
-rw-r--r-- | src/passes/RoundTrip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/RoundTrip.cpp b/src/passes/RoundTrip.cpp index b930b195c..129b89ac8 100644 --- a/src/passes/RoundTrip.cpp +++ b/src/passes/RoundTrip.cpp @@ -41,7 +41,7 @@ struct RoundTrip : public Pass { // to tell the builder which features to build with. auto features = module->features; // Write, clear, and read the module - WasmBinaryWriter(module, buffer).write(); + WasmBinaryWriter(module, buffer, getPassOptions()).write(); ModuleUtils::clearModule(*module); auto input = buffer.getAsChars(); WasmBinaryReader parser(*module, features, input); |