| Index: src/compiler/js-inlining.cc
|
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
|
| index 291f4874a02241f014622180fd03aa9b01fac3aa..00596efd40c14b6b814441e7d7ac7f2c4979e5e1 100644
|
| --- a/src/compiler/js-inlining.cc
|
| +++ b/src/compiler/js-inlining.cc
|
| @@ -310,6 +310,14 @@ Reduction JSInliner::ReduceJSCallFunction(Node* node,
|
| }
|
| }
|
|
|
| + // TODO(turbofan): Inlining into a try-block is not yet supported.
|
| + if (NodeProperties::IsExceptionalCall(node)) {
|
| + TRACE("Not inlining %s into %s because of surrounding try-block\n",
|
| + function->shared()->DebugName()->ToCString().get(),
|
| + info_->shared_info()->DebugName()->ToCString().get());
|
| + return NoChange();
|
| + }
|
| +
|
| Zone zone;
|
| ParseInfo parse_info(&zone, function);
|
| CompilationInfo info(&parse_info);
|
|
|