Skip to content

Commit ed74b67

Browse files
MaxGraeydcodeIO
authored andcommitted
remove call_indirect & call_direct from definitions (AssemblyScript#1017)
1 parent 14ac21c commit ed74b67

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

std/assembly/index.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,6 @@ declare function idof<T>(): u32;
134134
declare function changetype<T>(value: any): T;
135135
/** Explicitly requests no bounds checks on the provided expression. Useful for array accesses. */
136136
declare function unchecked<T>(value: T): T;
137-
/** Emits a `call_indirect` instruction, calling the specified function in the function table by index with the specified arguments. Does result in a runtime error if the arguments do not match the called function. */
138-
declare function call_indirect<T>(target: Function | u32, ...args: any[]): T;
139-
/** Emits a `call` instruction, calling the specified function in the function table directly with the specified arguments. Function index must be a compile-time constant. */
140-
declare function call_direct<T>(target: Function | u32, ...args: any[]): T;
141137
/** Instantiates a new instance of `T` using the specified constructor arguments. */
142138
declare function instantiate<T>(...args: any[]): T;
143139
/** Tests if a 32-bit or 64-bit float is `NaN`. */

0 commit comments

Comments
 (0)