[K/Wasm] Fix DROP location

This commit is contained in:
Artem Kobzar
2024-03-04 15:05:23 +00:00
committed by Space Team
parent 4b57f38e4e
commit 30aae741a6
53 changed files with 148 additions and 141 deletions
@@ -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"))
}
}