monkey-patch loader

This commit is contained in:
dcode
2019-05-23 04:15:05 +02:00
parent 71ea61e099
commit 81c212b208
7 changed files with 114 additions and 119 deletions

View File

@ -20,7 +20,7 @@
(global $exports/vehicles.Car i32 (i32.const 4))
(export "memory" (memory $0))
(export "add" (func $exports/add))
(export "$.setArgc" (func $~lib/setargc))
(export "__setargc" (func $~lib/setargc))
(export "subOpt" (func $exports/subOpt|trampoline))
(export "math.sub" (func $exports/subOpt))
(export "Animal.CAT" (global $exports/Animal.CAT))

View File

@ -23,7 +23,7 @@
(global $exports/vehicles.Car i32 (i32.const 4))
(export "memory" (memory $0))
(export "add" (func $exports/add))
(export "$.setArgc" (func $~lib/setargc))
(export "__setargc" (func $~lib/setargc))
(export "subOpt" (func $exports/subOpt|trampoline))
(export "math.sub" (func $exports/math.sub))
(export "Animal.CAT" (global $exports/Animal.CAT))