|
@@ -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)
|