[Wasm] Require location for buildDrop and fix all usages
This commit is contained in:
@@ -179,8 +179,8 @@ abstract class WasmExpressionBuilder {
|
||||
buildInstr(WasmOp.REF_NULL, location, WasmImmediate.HeapType(WasmRefType(type)))
|
||||
}
|
||||
|
||||
fun buildDrop() {
|
||||
buildInstr(WasmOp.DROP)
|
||||
fun buildDrop(location: SourceLocation) {
|
||||
buildInstr(WasmOp.DROP, location)
|
||||
}
|
||||
|
||||
inline fun commentPreviousInstr(text: () -> String) {
|
||||
|
||||
Reference in New Issue
Block a user