mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2026-11-04 16:02:20 +00:00
modify compiler to fix return values and add support for vm ffi
This commit is contained in:
3 files changed
+42
-28
No files matched your search
@@ -17,9 +17,6 @@ class IrStubOpEmitter(val irDefinition: IrDefinition, val code: CodeBuilder) : I
|
||||
}
|
||||
|
||||
fun final() {
|
||||
if (irDefinition.type == IrDefinitionType.CodeFunction) {
|
||||
code.emit(Opcode.None)
|
||||
}
|
||||
code.emit(Opcode.Return)
|
||||
code.emit(Opcode.End)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user