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"); |