summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/recompute-wrappers.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/recompute-wrappers.js')
-rw-r--r--js/src/jit-test/tests/basic/recompute-wrappers.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/recompute-wrappers.js b/js/src/jit-test/tests/basic/recompute-wrappers.js
new file mode 100644
index 0000000000..cf45a37407
--- /dev/null
+++ b/js/src/jit-test/tests/basic/recompute-wrappers.js
@@ -0,0 +1,5 @@
+var g = newGlobal();
+var w1 = g.Math;
+var w2 = g.evaluate("new Array");
+recomputeWrappers(this, g);
+recomputeWrappers();