Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 90e6fbbb19a2b64b265872894ad4b309e27467b8..6a53ea0cc5544f351d125b725cc516cabaddc526 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7566,7 +7566,7 @@ int HOptimizedGraphBuilder::InliningAstSize(Handle<JSFunction> target) { |
TraceInline(target, caller, "target not inlineable"); |
return kNotInlinable; |
} |
- if (target_shared->dont_inline() || target_shared->dont_optimize()) { |
+ if (target_shared->dont_inline()) { |
TraceInline(target, caller, "target contains unsupported syntax [early]"); |
return kNotInlinable; |
} |