Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 07bd68dfbf9caea4e19bd49996bc396b62527e91..bcd98f156ce7e203d610ea6b2b6893c9b0d02096 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -1033,7 +1033,7 @@ |
if (holder->HasFastProperties()) { |
if (getter->IsJSFunction()) { |
Handle<JSFunction> function = Handle<JSFunction>::cast(getter); |
- if (!receiver->IsJSObject() && function->shared()->IsUserJavaScript() && |
+ if (!receiver->IsJSObject() && !function->shared()->IsBuiltin() && |
is_sloppy(function->shared()->language_mode())) { |
// Calling sloppy non-builtins with a value as the receiver |
// requires boxing. |