Skip to content

Commit d582647

Browse files
committed
Remove autoDrop
1 parent a8662ff commit d582647

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,6 @@ API
298298
* Module#**addCustomSection**(name: `string`, contents: `Uint8Array`): `void`<br />
299299
Adds a custom section to the binary.
300300

301-
* Module#**autoDrop**(): `void`<br />
302-
Enables automatic insertion of `drop` operations where needed. Lets you not worry about dropping when creating your code.
303-
304301
* **getFunctionInfo**(ftype: `FunctionRef`: `FunctionInfo`<br />
305302
Obtains information about a function.
306303

index.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,6 @@ declare module binaryen {
18401840
optimizeFunction(func: string | FunctionRef): void;
18411841
runPasses(passes: string[]): void;
18421842
runPassesOnFunction(func: string | FunctionRef, passes: string[]): void;
1843-
autoDrop(): void;
18441843
dispose(): void;
18451844
emitBinary(): Uint8Array;
18461845
emitBinary(sourceMapUrl: string | null): { binary: Uint8Array; sourceMap: string | null; };

0 commit comments

Comments
 (0)