[Wasm] Require location for buildCall and fix all usages

This commit is contained in:
Zalim Bashorov
2022-12-06 19:34:15 +01:00
parent a24119858f
commit 61440c74d5
5 changed files with 57 additions and 41 deletions
@@ -112,7 +112,7 @@ abstract class WasmExpressionBuilder {
buildBrInstr(WasmOp.BR_IF, absoluteBlockLevel)
}
fun buildCall(symbol: WasmSymbol<WasmFunction>, location: SourceLocation = SourceLocation.TBDLocation) {
fun buildCall(symbol: WasmSymbol<WasmFunction>, location: SourceLocation) {
buildInstr(WasmOp.CALL, location, WasmImmediate.FuncIdx(symbol))
}