[K/Wasm] Fix DROP location
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ class BodyGenerator(
|
||||
private fun generateAsStatement(statement: IrExpression) {
|
||||
generateExpression(statement)
|
||||
if (statement.type != wasmSymbols.voidType) {
|
||||
body.buildDrop(statement.getSourceLocation())
|
||||
body.buildDrop(SourceLocation.NoLocation("DROP"))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user