[WASM] Emit the itable array as an array of immutable fields.
The itable field itself in object instances is already marked as immutable.
@@ -104,7 +104,7 @@ public class WasmModuleGenerator {
builder.newLine();
// The itable is an array of interface vtables. However since there is no common super type
// for all vtables, the array is defined as array of 'data' which is the top type for structs.
- builder.append("(type $itable (array (mut (ref null data))))");
+ builder.append("(type $itable (array (ref null data)))");
}
private void emitGlobals(Library library) {
