Skip to content

Commit efe656b

Browse files
Update compiler.ts
1 parent 6743001 commit efe656b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ export class Compiler extends DiagnosticEmitter {
537537
// initialize lookup maps, built-ins, imports, exports, etc.
538538
this.program.initialize();
539539

540+
540541
// Binaryen treats all function references as being leaked to the outside world when
541542
// the module isn't marked as closed-world (see WebAssembly/binaryen#7135). Therefore,
542543
// we should mark the module as closed-world when we're definitely sure it is.

0 commit comments

Comments
 (0)