Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 66d71a6e298daf623d612a0f511f6881bb90baec..de0ccb6e94e71d246bce2a50ef4b6384532a889f 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -295,7 +295,7 @@ Reduction JSInliner::Reduce(Node* node) { |
Handle<JSFunction> function = match.Value().handle(); |
if (!function->IsJSFunction()) return NoChange(); |
- if (mode_ == kBuiltinsInlining && !function->shared()->inline_builtin()) { |
+ if (mode_ == kRestrictedInlining && !function->shared()->force_inline()) { |
return NoChange(); |
} |