git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit a860393bda1e07cc7f9e902b5f299f989a3fa198

Merge branch 'jsApi' into testing

wanderer committed on 9/12/2016, 9:24:18 PM
Parent: 0ee892caf86f3afea400347e7230a4ca0e461eff
Parent: 9a1df2ada5e60a2be2c861c4780f15abf3f52f3b

Files changed

index.jschanged
index.jsView
@@ -43,10 +43,10 @@
4343 // NOTE: it assumes that wasm will raise an exception if something went wrong,
4444 // otherwise execution succeeded
4545 codeHandler (code, ethInterface = new Interface(new Environment())) {
4646 const debugInterface = new DebugInterface(ethInterface.environment)
47-
48- const instance = Wasm.instantiateModule(code, {
47+ const module = WebAessembly.Module(code)
48+ const instance = WebAessembly.Instance(module, {
4949 'ethereum': ethInterface.exportTable,
5050 'debug': debugInterface.exportTable,
5151
5252 // export this for Rust

Built with git-ssb-web