1
0
Fork 0
This commit is contained in:
jsteemann 2016-07-18 09:44:38 +02:00
parent 5f97150d3f
commit eaeafcaedd
1 changed files with 4 additions and 0 deletions

View File

@ -8444,6 +8444,10 @@ bool HOptimizedGraphBuilder::TryInline(Handle<JSFunction> target,
TraceInline(target, caller, "parse failure");
return false;
}
if (target_shared->dont_crankshaft()) {
TraceInline(target, caller, "ParseAndAnalyze found incompatibility");
return false;
}
if (target_info.scope()->num_heap_slots() > 0) {
TraceInline(target, caller, "target has context-allocated variables");