Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: test/mjsunit/error-tostring-omit.js

Issue 2117273002: Revert of [intrinsic] Drop the %_ValueOf intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/compiler/regress-valueof.js ('k') | test/unittests/compiler/js-intrinsic-lowering-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/error-tostring-omit.js
diff --git a/test/mjsunit/error-tostring-omit.js b/test/mjsunit/error-tostring-omit.js
index 48e1399d7a1d16df31086a7c75b70c1ec6f2cd34..9ff43fa9b2e521c51ce887f6eac184df84e2efe2 100644
--- a/test/mjsunit/error-tostring-omit.js
+++ b/test/mjsunit/error-tostring-omit.js
@@ -42,7 +42,7 @@
var re = /...<omitted>.../;
try {
- Date.prototype.setDate.call(veryLongString);
+ Number.prototype.toFixed.call(veryLongString);
} catch (e) {
assertTrue(e.message.length < 256);
assertTrue(re.test(e.message));
« no previous file with comments | « test/mjsunit/compiler/regress-valueof.js ('k') | test/unittests/compiler/js-intrinsic-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698