mirror of https://gitee.com/bigwinds/arangodb
fixed segfault in V8, by backporting https://bugs.chromium.org/p/v8/issues/detail?id=5033
This commit is contained in:
parent
5f97150d3f
commit
eaeafcaedd
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue