mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 21:21:33 +00:00
modify compiler to fix return values and add support for vm ffi
This commit is contained in:
@ -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