Bug 1135703 - Add test case. r=shu
authorKannan Vijayan <kvijayan@mozilla.com>
Thu, 12 Mar 2015 12:19:58 -0400
changeset 233386 90eccf42027effa2f76f31cc91e20e603e1d6130
parent 233385 5e3d56c1c091610cc5f4eaa23fcc1751f943e10f
child 233387 b0993c742a0d04e471e723b0336a3ee93b3c82d8
push id28410
push userryanvm@gmail.com
push dateThu, 12 Mar 2015 22:06:36 +0000
treeherdermozilla-central@42afc7ef5ccb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersshu
bugs1135703
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1135703 - Add test case. r=shu
js/src/jit-test/tests/profiler/bug1135703.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/profiler/bug1135703.js
@@ -0,0 +1,6 @@
+
+for (var idx = 0; idx < 20; ++idx) {
+  newFunc("enableSPSProfilingWithSlowAssertions(); disableSPSProfiling();");
+}
+newFunc("enableSPSProfiling();");
+function newFunc(x) { new Function(x)(); };