Bug 1316554: Rename spec interpreter to wast.js; r=luke
authorBenjamin Bouvier <benj@benj.me>
Mon, 21 Nov 2016 15:26:31 +0100
changeset 324093 f978b398f89872881da40f1013f14ed6641add9a
parent 324092 e31f8c4465e4fd60cfcad2c34c1d12d27868297a
child 324094 e588418674e17f60dbde2240e6eb1b70763f52f5
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersluke
bugs1316554
milestone53.0a1
Bug 1316554: Rename spec interpreter to wast.js; r=luke MozReview-Commit-ID: pA7eQKeYfB
js/src/jit-test/tests/wasm/spec.js
js/src/jit-test/tests/wasm/spec/address.wast.js
js/src/jit-test/tests/wasm/spec/binary.wast.js
js/src/jit-test/tests/wasm/spec/block.wast.js
js/src/jit-test/tests/wasm/spec/br.wast.js
js/src/jit-test/tests/wasm/spec/br_if.wast.js
js/src/jit-test/tests/wasm/spec/br_table.wast.js
js/src/jit-test/tests/wasm/spec/break-drop.wast.js
js/src/jit-test/tests/wasm/spec/call.wast.js
js/src/jit-test/tests/wasm/spec/call_indirect.wast.js
js/src/jit-test/tests/wasm/spec/comments.wast.js
js/src/jit-test/tests/wasm/spec/conversions.wast.js
js/src/jit-test/tests/wasm/spec/endianness.wast.js
js/src/jit-test/tests/wasm/spec/exports.wast.js
js/src/jit-test/tests/wasm/spec/f32.wast.js
js/src/jit-test/tests/wasm/spec/f32_cmp.wast.js
js/src/jit-test/tests/wasm/spec/f64.wast.js
js/src/jit-test/tests/wasm/spec/f64_cmp.wast.js
js/src/jit-test/tests/wasm/spec/fac.wast.js
js/src/jit-test/tests/wasm/spec/float_exprs.wast.js
js/src/jit-test/tests/wasm/spec/float_literals.wast.js
js/src/jit-test/tests/wasm/spec/float_memory.wast.js
js/src/jit-test/tests/wasm/spec/float_misc.wast.js
js/src/jit-test/tests/wasm/spec/forward.wast.js
js/src/jit-test/tests/wasm/spec/func.wast.js
js/src/jit-test/tests/wasm/spec/func_ptrs.wast.js
js/src/jit-test/tests/wasm/spec/get_local.wast.js
js/src/jit-test/tests/wasm/spec/globals.wast.js
js/src/jit-test/tests/wasm/spec/i32.wast.js
js/src/jit-test/tests/wasm/spec/i64.wast.js
js/src/jit-test/tests/wasm/spec/import_tests.sh
js/src/jit-test/tests/wasm/spec/imports.wast.js
js/src/jit-test/tests/wasm/spec/int_exprs.wast.js
js/src/jit-test/tests/wasm/spec/int_literals.wast.js
js/src/jit-test/tests/wasm/spec/labels.wast.js
js/src/jit-test/tests/wasm/spec/left-to-right.wast.js
js/src/jit-test/tests/wasm/spec/linking.wast.js
js/src/jit-test/tests/wasm/spec/loop.wast.js
js/src/jit-test/tests/wasm/spec/memory.wast.js
js/src/jit-test/tests/wasm/spec/memory_redundancy.wast.js
js/src/jit-test/tests/wasm/spec/memory_trap.wast.js
js/src/jit-test/tests/wasm/spec/names.wast.js
js/src/jit-test/tests/wasm/spec/nop.wast.js
js/src/jit-test/tests/wasm/spec/resizing.wast.js
js/src/jit-test/tests/wasm/spec/return.wast.js
js/src/jit-test/tests/wasm/spec/select.wast.js
js/src/jit-test/tests/wasm/spec/set_local.wast.js
js/src/jit-test/tests/wasm/spec/skip-stack-guard-page.wast.js
js/src/jit-test/tests/wasm/spec/soft-fail.wast.js
js/src/jit-test/tests/wasm/spec/stack.wast.js
js/src/jit-test/tests/wasm/spec/start.wast.js
js/src/jit-test/tests/wasm/spec/store_retval.wast.js
js/src/jit-test/tests/wasm/spec/switch.wast.js
js/src/jit-test/tests/wasm/spec/tee_local.wast.js
js/src/jit-test/tests/wasm/spec/traps.wast.js
js/src/jit-test/tests/wasm/spec/typecheck.wast.js
js/src/jit-test/tests/wasm/spec/unreachable.wast.js
js/src/jit-test/tests/wasm/spec/unwind.wast.js
js/src/jit-test/tests/wasm/wast.js
--- a/js/src/jit-test/tests/wasm/spec/address.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/address.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['address.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['address.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/binary.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/binary.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['binary.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['binary.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/block.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/block.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['block.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['block.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/br.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/br.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['br.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['br.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/br_if.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/br_if.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['br_if.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['br_if.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/br_table.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/br_table.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['br_table.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['br_table.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/break-drop.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/break-drop.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['break-drop.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['break-drop.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/call.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/call.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['call.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['call.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/call_indirect.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/call_indirect.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['call_indirect.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['call_indirect.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/comments.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/comments.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['comments.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['comments.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/conversions.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/conversions.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['conversions.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['conversions.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/endianness.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/endianness.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['endianness.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['endianness.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/exports.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/exports.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['exports.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['exports.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/f32.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/f32.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['f32.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['f32.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/f32_cmp.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/f32_cmp.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['f32_cmp.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['f32_cmp.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/f64.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/f64.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['f64.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['f64.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/f64_cmp.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/f64_cmp.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['f64_cmp.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['f64_cmp.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/fac.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/fac.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['fac.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['fac.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/float_exprs.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/float_exprs.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['float_exprs.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['float_exprs.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/float_literals.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/float_literals.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['float_literals.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['float_literals.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/float_memory.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/float_memory.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['float_memory.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['float_memory.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/float_misc.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/float_misc.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['float_misc.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['float_misc.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/forward.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/forward.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['forward.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['forward.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/func.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/func.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['func.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['func.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/func_ptrs.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/func_ptrs.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['func_ptrs.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['func_ptrs.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/get_local.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/get_local.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['get_local.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['get_local.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/globals.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/globals.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['globals.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['globals.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/i32.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/i32.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['i32.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['i32.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/i64.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/i64.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['i64.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['i64.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/import_tests.sh
+++ b/js/src/jit-test/tests/wasm/spec/import_tests.sh
@@ -6,10 +6,10 @@ git clone https://github.com/WebAssembly
 mv spec/interpreter/test/*.wast ./
 rm -rf spec/
 
 # TODO not handled yet
 rm -f *.fail.wast
 
 for i in $(ls *.wast);
 do
-    echo "var importedArgs = ['$i']; load(scriptdir + '../spec.js');" > $i.js
+    echo "var importedArgs = ['$i']; load(scriptdir + '../wast.js');" > $i.js
 done;
--- a/js/src/jit-test/tests/wasm/spec/imports.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/imports.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['imports.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['imports.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/int_exprs.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/int_exprs.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['int_exprs.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['int_exprs.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/int_literals.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/int_literals.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['int_literals.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['int_literals.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/labels.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/labels.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['labels.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['labels.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/left-to-right.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/left-to-right.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['left-to-right.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['left-to-right.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/linking.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/linking.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['linking.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['linking.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/loop.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/loop.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['loop.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['loop.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/memory.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/memory.wast.js
@@ -1,3 +1,1 @@
-// TODO initializer expression can reference global module-defined variables?
-quit();
-var importedArgs = ['memory.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['memory.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/memory_redundancy.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/memory_redundancy.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['memory_redundancy.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['memory_redundancy.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/memory_trap.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/memory_trap.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['memory_trap.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['memory_trap.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/names.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/names.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['names.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['names.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/nop.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/nop.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['nop.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['nop.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/resizing.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/resizing.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['resizing.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['resizing.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/return.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/return.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['return.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['return.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/select.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/select.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['select.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['select.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/set_local.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/set_local.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['set_local.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['set_local.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/skip-stack-guard-page.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/skip-stack-guard-page.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['skip-stack-guard-page.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['skip-stack-guard-page.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/soft-fail.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/soft-fail.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['soft-fail.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['soft-fail.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/stack.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/stack.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['stack.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['stack.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/start.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/start.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['start.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['start.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/store_retval.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/store_retval.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['store_retval.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['store_retval.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/switch.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/switch.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['switch.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['switch.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/tee_local.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/tee_local.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['tee_local.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['tee_local.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/traps.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/traps.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['traps.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['traps.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/typecheck.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/typecheck.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['typecheck.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['typecheck.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/unreachable.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/unreachable.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['unreachable.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['unreachable.wast']; load(scriptdir + '../wast.js');
--- a/js/src/jit-test/tests/wasm/spec/unwind.wast.js
+++ b/js/src/jit-test/tests/wasm/spec/unwind.wast.js
@@ -1,1 +1,1 @@
-var importedArgs = ['unwind.wast']; load(scriptdir + '../spec.js');
+var importedArgs = ['unwind.wast']; load(scriptdir + '../wast.js');
rename from js/src/jit-test/tests/wasm/spec.js
rename to js/src/jit-test/tests/wasm/wast.js