[Wasm] Require location for buildCallIndirect
This commit is contained in:
@@ -119,9 +119,11 @@ abstract class WasmExpressionBuilder {
|
|||||||
fun buildCallIndirect(
|
fun buildCallIndirect(
|
||||||
symbol: WasmSymbol<WasmFunctionType>,
|
symbol: WasmSymbol<WasmFunctionType>,
|
||||||
tableIdx: WasmSymbolReadOnly<Int> = WasmSymbol(0),
|
tableIdx: WasmSymbolReadOnly<Int> = WasmSymbol(0),
|
||||||
|
location: SourceLocation
|
||||||
) {
|
) {
|
||||||
buildInstr(
|
buildInstr(
|
||||||
WasmOp.CALL_INDIRECT,
|
WasmOp.CALL_INDIRECT,
|
||||||
|
location,
|
||||||
WasmImmediate.TypeIdx(symbol),
|
WasmImmediate.TypeIdx(symbol),
|
||||||
WasmImmediate.TableIdx(tableIdx)
|
WasmImmediate.TableIdx(tableIdx)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user