Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index cfd843bfdc984de64fbd8b6e63faf5bf6319dc54..239cd60a7229fc925840abeb14792a9f61e91b1f 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -8267,7 +8267,7 @@ int HOptimizedGraphBuilder::InliningAstSize(Handle<JSFunction> target) { |
if (target_shared->force_inline()) { |
return 0; |
} |
- if (target->IsBuiltin()) { |
+ if (target->shared()->IsBuiltin()) { |
return kNotInlinable; |
} |