Procházet zdrojové kódy

Merge pull request #1 from phoboslab/master

kresimirfijacko před 6 roky
rodič
revize
dca01a0616
No account linked to committer's email
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/wasm-module.js

+ 2 - 2
src/wasm-module.js Zobrazit soubor

@@ -27,9 +27,9 @@ WASM.prototype.loadFromBuffer = function(buffer, callback) {
27 27
 	this.memory = new WebAssembly.Memory({initial: 256});
28 28
 	var env = {
29 29
 		memory: this.memory,
30
-		memoryBase: 0,
30
+		__memory_base: 0,
31 31
 		table: new WebAssembly.Table({initial: this.moduleInfo.tableSize, element: 'anyfunc'}),
32
-		tableBase: 0,
32
+		__table_base: 0,
33 33
 		abort: this.c_abort.bind(this),
34 34
 		___assert_fail: this.c_assertFail.bind(this),
35 35
 		_sbrk: this.c_sbrk.bind(this)