diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/binary-writer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/binary-writer.cc b/src/binary-writer.cc index d9db81df..bd285599 100644 --- a/src/binary-writer.cc +++ b/src/binary-writer.cc @@ -1133,8 +1133,7 @@ Result BinaryWriter::WriteModule() { EndSection(); } - if (options_.features.bulk_memory_enabled() && - module_->data_segments.size()) { + if (options_.features.bulk_memory_enabled()) { // Keep track of the data count section offset so it can be removed if // it isn't needed. data_count_start_ = stream_->offset(); |