summaryrefslogtreecommitdiff
path: root/scripts/test/env.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-04-25 17:09:47 -0700
committerGitHub <noreply@github.com>2019-04-25 17:09:47 -0700
commit21f014f4bd0ea1086895d8674f1473af222eb416 (patch)
treedc25e909790cf4e92e651e3d51f976ba44d4c666 /scripts/test/env.js
parentef6020cd5fbf9af61e7fdc17a5c787fc733f793d (diff)
downloadbinaryen-21f014f4bd0ea1086895d8674f1473af222eb416.tar.gz
binaryen-21f014f4bd0ea1086895d8674f1473af222eb416.tar.bz2
binaryen-21f014f4bd0ea1086895d8674f1473af222eb416.zip
wasm2js: support non-constant indexes for memory and table segments (#2055)
Mostly what we need for dynamic linking, at least on the binaryen side.
Diffstat (limited to 'scripts/test/env.js')
-rw-r--r--scripts/test/env.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/test/env.js b/scripts/test/env.js
index 44e6035de..af2cce1c7 100644
--- a/scripts/test/env.js
+++ b/scripts/test/env.js
@@ -8,3 +8,5 @@ export function getTempRet0() {
return tempRet0;
}
+export const memoryBase = 0;
+export const tableBase = 0;