| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index 7e7ef15c3d6ddd4da7f7cba6b6e8b1f4dda56bd9..ff4d4deb61dc2c3ef5428268b2c55b18cfc2d939 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -1233,7 +1233,8 @@ Handle<Code> KeyedLoadIC::LoadElementStub(Handle<HeapObject> receiver) {
|
| TargetMaps(&target_receiver_maps);
|
|
|
| if (target_receiver_maps.length() == 0) {
|
| - return PropertyICCompiler::ComputeKeyedLoadMonomorphic(receiver_map);
|
| + return PropertyICCompiler::ComputeKeyedLoadMonomorphic(receiver_map,
|
| + extra_ic_state());
|
| }
|
|
|
| // The first time a receiver is seen that is a transitioned version of the
|
| @@ -1247,7 +1248,8 @@ Handle<Code> KeyedLoadIC::LoadElementStub(Handle<HeapObject> receiver) {
|
| IsMoreGeneralElementsKindTransition(
|
| target_receiver_maps.at(0)->elements_kind(),
|
| Handle<JSObject>::cast(receiver)->GetElementsKind())) {
|
| - return PropertyICCompiler::ComputeKeyedLoadMonomorphic(receiver_map);
|
| + return PropertyICCompiler::ComputeKeyedLoadMonomorphic(receiver_map,
|
| + extra_ic_state());
|
| }
|
|
|
| DCHECK(state() != GENERIC);
|
| @@ -1268,7 +1270,8 @@ Handle<Code> KeyedLoadIC::LoadElementStub(Handle<HeapObject> receiver) {
|
| return generic_stub();
|
| }
|
|
|
| - return PropertyICCompiler::ComputeKeyedLoadPolymorphic(&target_receiver_maps);
|
| + return PropertyICCompiler::ComputeKeyedLoadPolymorphic(&target_receiver_maps,
|
| + extra_ic_state());
|
| }
|
|
|
|
|
|
|