| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index ddc6b1a7df213cbb2eee02b9d30aa4fd51e78cac..3718ddc36b58329956c13a0222e7454141b79f0b 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -1631,6 +1631,8 @@ static Handle<Object> TryConvertKey(Handle<Object> key, Isolate* isolate) {
|
| }
|
| } else if (key->IsUndefined(isolate)) {
|
| key = isolate->factory()->undefined_string();
|
| + } else if (key->IsString()) {
|
| + key = isolate->factory()->InternalizeString(Handle<String>::cast(key));
|
| }
|
| return key;
|
| }
|
|
|