| Index: src/ic/ic-compiler.cc
|
| diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc
|
| index aeae4ba90e5d0ef6e216e5e34095e8d3e16fca53..4ce9610e708ed5f7cdfa0da601395ad83833f95a 100644
|
| --- a/src/ic/ic-compiler.cc
|
| +++ b/src/ic/ic-compiler.cc
|
| @@ -96,6 +96,9 @@ Handle<Code> PropertyICCompiler::ComputeKeyedLoadMonomorphic(
|
| Handle<Code> stub;
|
| if (receiver_map->has_indexed_interceptor()) {
|
| stub = LoadIndexedInterceptorStub(isolate).GetCode();
|
| + } else if (receiver_map->IsStringMap()) {
|
| + // We have a string.
|
| + stub = LoadIndexedStringStub(isolate).GetCode();
|
| } else if (receiver_map->has_sloppy_arguments_elements()) {
|
| stub = KeyedLoadSloppyArgumentsStub(isolate).GetCode();
|
| } else if (receiver_map->has_fast_elements() ||
|
|
|