blob: 825cc74f09e61790b23c588ddfbbebed458150ea [file] [log] [blame] [edit]
open Values
open Instance
exception Link of Source.region * string
exception Trap of Source.region * string
exception Crash of Source.region * string
exception Exhaustion of Source.region * string
val init : Ast.module_ -> extern list -> module_inst (* raises Link, Trap *)
val invoke : func_inst -> value list -> value list (* raises Trap *)