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

Unified Diff: test/mjsunit/es6/tail-call-megatest.js

Issue 2361813002: [turbofan] Don't take into account source size for inlining heuristics. (Closed)
Patch Set: Mozilla timeouts Created 4 years, 3 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/cctest/test-heap-profiler.cc ('k') | test/mozilla/mozilla.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/tail-call-megatest.js
diff --git a/test/mjsunit/es6/tail-call-megatest.js b/test/mjsunit/es6/tail-call-megatest.js
index 3d2ecb8daa3884a02287bac12b2e25e53d289fdd..a3b5cecbe0a2add066a42f1922d42d33c6e4dcd8 100644
--- a/test/mjsunit/es6/tail-call-megatest.js
+++ b/test/mjsunit/es6/tail-call-megatest.js
@@ -25,10 +25,11 @@ function checkStackTrace(expected) {
var CAN_INLINE_COMMENT = "// Let it be inlined.";
var DONT_INLINE_COMMENT = (function() {
- var line = "// Don't inline. Don't inline. Don't inline. Don't inline.";
- for (var i = 0; i < 4; i++) {
- line += "\n " + line;
+ var line = "1";
+ for (var i = 0; i < 200; ++i) {
+ line += "," + i;
}
+ line += ";\n";
return line;
})();
« no previous file with comments | « test/cctest/test-heap-profiler.cc ('k') | test/mozilla/mozilla.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698