summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_1/jit/shell.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/js1_8_1/jit/shell.js')
-rw-r--r--js/src/tests/js1_8_1/jit/shell.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/tests/js1_8_1/jit/shell.js b/js/src/tests/js1_8_1/jit/shell.js
new file mode 100644
index 000000000..63f283b96
--- /dev/null
+++ b/js/src/tests/js1_8_1/jit/shell.js
@@ -0,0 +1,4 @@
+// The loop count at which we trace
+const RECORDLOOP = this.tracemonkey ? tracemonkey.HOTLOOP : 8;
+// The loop count at which we run the trace
+const RUNLOOP = RECORDLOOP + 1;