Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
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
5 changes: 2 additions & 3 deletions src/builtins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
import {
Compiler,
Constraints,
RuntimeFeatures,
flatten
RuntimeFeatures
} from "./compiler";

import {
Expand Down Expand Up @@ -4933,7 +4932,7 @@ export function compileVisitMembers(compiler: Compiler): void {
}
if (!instance.base) code.push(module.return());
let block = relooper.addBlock(
flatten(module, code, NativeType.None)
module.flatten(code)
);
relooper.addBranchForSwitch(outer, block, [ id ]);
blocks.push(block);
Expand Down
Loading