[Wasm] Require location for buildConstI64 and fix all usages

This commit is contained in:
Zalim Bashorov
2022-12-07 12:40:01 +01:00
parent f2f4c63720
commit 332aca10b0
2 changed files with 4 additions and 4 deletions
@@ -20,8 +20,8 @@ abstract class WasmExpressionBuilder {
buildInstr(WasmOp.I32_CONST, location, WasmImmediate.ConstI32(value))
}
fun buildConstI64(value: Long) {
buildInstr(WasmOp.I64_CONST, WasmImmediate.ConstI64(value))
fun buildConstI64(value: Long, location: SourceLocation) {
buildInstr(WasmOp.I64_CONST, location, WasmImmediate.ConstI64(value))
}
fun buildConstF32(value: Float) {