Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
format
  • Loading branch information
kripken committed May 4, 2026
commit 92d3689a87ed4abf584aaff76760e2eb4288ffec
8 changes: 4 additions & 4 deletions src/ir/table-utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ TableInfoMap computeTableInfo(Module& wasm, bool initialContentsImmutable) {
// Miniature form of TableInfo, without things we don't need (some of which
// cause compilation errors on the copies below).
struct MiniTableInfo {
// Whether the table may be modified at runtime, either because it is imported
// or exported, or table.set operations exist for it in the code.
// Whether the table may be modified at runtime, either because it is
// imported or exported, or table.set operations exist for it in the code.
bool mayBeModified = false;

// Whether the table may grow. Growing does modify the table, but it only
// appends, so we track this separately from mayBeModified, which allows more
// optimizations in tables that grow but have no other sets.
// appends, so we track this separately from mayBeModified, which allows
// more optimizations in tables that grow but have no other sets.
bool mayGrow = false;
};

Expand Down