summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test/wasm2js.py3
-rw-r--r--scripts/wasm2js.js6
2 files changed, 3 insertions, 6 deletions
diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py
index 38a2defd7..11f7011a1 100644
--- a/scripts/test/wasm2js.py
+++ b/scripts/test/wasm2js.py
@@ -30,6 +30,9 @@ wasm2js_blacklist = ['empty_imported_table.wast']
def check_for_stale_files():
+ if shared.options.test_name_filter:
+ return
+
# TODO(sbc): Generalize and apply other test suites
all_tests = []
for t in tests + spec_tests + wasm2js_tests:
diff --git a/scripts/wasm2js.js b/scripts/wasm2js.js
index 7bb8453bc..babf31267 100644
--- a/scripts/wasm2js.js
+++ b/scripts/wasm2js.js
@@ -6,12 +6,6 @@ var WebAssembly = {
Memory: function(opts) {
return {
buffer: new ArrayBuffer(opts['initial'] * 64 * 1024),
- grow: function(amount) {
- var oldBuffer = this.buffer;
- var ret = __growWasmMemory(amount);
- assert(this.buffer !== oldBuffer); // the call should have updated us
- return ret;
- }
};
},