| Index: src/compiler/js-inlining.cc
|
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
|
| index 0b7c78979c8869fffe25f801bda4df5b5e0b9dac..5cbb9604d6adfacc7741d1a2e811ecbbdd8264d8 100644
|
| --- a/src/compiler/js-inlining.cc
|
| +++ b/src/compiler/js-inlining.cc
|
| @@ -254,6 +254,14 @@ Reduction JSInliner::Reduce(Node* node) {
|
| return NoChange();
|
| }
|
|
|
| + if (!function->shared()->IsInlineable()) {
|
| + // Function must be inlineable.
|
| + TRACE("Not inlining %s into %s because callee is not inlineable\n",
|
| + function->shared()->DebugName()->ToCString().get(),
|
| + info_->shared_info()->DebugName()->ToCString().get());
|
| + return NoChange();
|
| + }
|
| +
|
| if (function->shared()->HasDebugInfo()) {
|
| // Function contains break points.
|
| TRACE("Not inlining %s into %s because callee may contain break points\n",
|
|
|