Skip to content

Commit 05d61c9

Browse files
committed
Remove emitStackIR optimize parameter
1 parent 46948f8 commit 05d61c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ API
494494
* Module#**emitText**(): `string`<br />
495495
Returns the module in Binaryen's s-expression text format (not official stack-style text format).
496496

497-
* Module#**emitStackIR**(optimize?: `boolean`): `string`<br />
497+
* Module#**emitStackIR**(): `string`<br />
498498
Returns the module in official stack-style text format.
499499

500500
* Module#**emitAsmjs**(): `string`<br />

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ declare module binaryen {
17691769
getTableByIndex(index: number): TableRef;
17701770
getElementSegmentByIndex(index: number): ElementSegmentRef;
17711771
emitText(): string;
1772-
emitStackIR(optimize?: boolean): string;
1772+
emitStackIR(): string;
17731773
emitAsmjs(): string;
17741774
validate(): number;
17751775
optimize(): void;

0 commit comments

Comments
 (0)