summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/profiler/AutoEntryMonitor-01.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/profiler/AutoEntryMonitor-01.js')
-rw-r--r--js/src/jit-test/tests/profiler/AutoEntryMonitor-01.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit-test/tests/profiler/AutoEntryMonitor-01.js b/js/src/jit-test/tests/profiler/AutoEntryMonitor-01.js
index d66548680..e9dd5d526 100644
--- a/js/src/jit-test/tests/profiler/AutoEntryMonitor-01.js
+++ b/js/src/jit-test/tests/profiler/AutoEntryMonitor-01.js
@@ -31,7 +31,7 @@ cold_and_warm(Object.prototype.toString, { ToString: {} }, []);
var toS = { toString: function myToString() { return "string"; } };
cold_and_warm(toS.toString, { ToString: toS }, [ "myToString" ]);
-cold_and_warm(undefined, { ToNumber: {} }, []);
+cold_and_warm(undefined, { ToNumber: 5 }, []);
var vOf = { valueOf: function myValueOf() { return 42; } };
cold_and_warm(vOf.valueOf, { ToNumber: vOf }, [ "myValueOf" ]);