Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index b1d87d62dc779123ec732bf0db918a30d5f2db67..ad320b5c0e941275c5ba385b48bdbf7bee46bd16 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -7965,7 +7965,7 @@ |
if (target_shared->force_inline()) { |
return 0; |
} |
- if (!target->shared()->IsUserJavaScript()) { |
+ if (target->shared()->IsBuiltin()) { |
return kNotInlinable; |
} |