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