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

Unified Diff: src/hydrogen.cc

Issue 306883002: Don't take source size into account for inlining. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « src/hydrogen.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 3b77c73c0d0357e4e6d660ba03a3735326f284ad..f3fdcde1a5998283a84cf6e68cdf1fbf808728cc 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -7270,14 +7270,6 @@ int HOptimizedGraphBuilder::InliningAstSize(Handle<JSFunction> target) {
return kNotInlinable;
}
- // Do a quick check on source code length to avoid parsing large
- // inlining candidates.
- if (target_shared->SourceSize() >
- Min(FLAG_max_inlined_source_size, kUnlimitedMaxInlinedSourceSize)) {
- TraceInline(target, caller, "target text too big");
- return kNotInlinable;
- }
-
// Target must be inlineable.
if (!target_shared->IsInlineable()) {
TraceInline(target, caller, "target not inlineable");
« no previous file with comments | « src/hydrogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698