| Index: src/compiler/js-inlining.cc
|
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
|
| index ebd52f6d5f945272f9ae30f55df8e896cb88f607..1b6674a916a2395a2dabf5b30b9a924fbc5952cc 100644
|
| --- a/src/compiler/js-inlining.cc
|
| +++ b/src/compiler/js-inlining.cc
|
| @@ -312,8 +312,12 @@ bool NeedsConvertReceiver(Node* receiver, Node* effect) {
|
| return false;
|
| }
|
| default: {
|
| + // We don't really care about the exact maps here, just the instance
|
| + // types, which don't change across potential side-effecting operations.
|
| ZoneHandleSet<Map> maps;
|
| - if (NodeProperties::InferReceiverMaps(receiver, effect, &maps)) {
|
| + NodeProperties::InferReceiverMapsResult result =
|
| + NodeProperties::InferReceiverMaps(receiver, effect, &maps);
|
| + if (result != NodeProperties::kNoReceiverMaps) {
|
| // Check if all {maps} are actually JSReceiver maps.
|
| for (size_t i = 0; i < maps.size(); ++i) {
|
| if (!maps[i]->IsJSReceiverMap()) return true;
|
|
|