|
|
@@ -27,8 +27,10 @@ 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
|
31
|
__memory_base: 0,
|
|
31
|
32
|
table: new WebAssembly.Table({initial: this.moduleInfo.tableSize, element: 'anyfunc'}),
|
|
|
33
|
+ tableBase: 0,
|
|
32
|
34
|
__table_base: 0,
|
|
33
|
35
|
abort: this.c_abort.bind(this),
|
|
34
|
36
|
___assert_fail: this.c_assertFail.bind(this),
|