| Index: src/ic.cc
|
| diff --git a/src/ic.cc b/src/ic.cc
|
| index dd2bb297b41c88b148ce7ad863d85706b7941e6f..501ec628f3a8faf9290fe372f0c33e81ec9f16e7 100644
|
| --- a/src/ic.cc
|
| +++ b/src/ic.cc
|
| @@ -1143,16 +1143,6 @@ void LoadIC::UpdateCaches(LookupResult* lookup,
|
| MaybeObject* KeyedLoadIC::Load(State state,
|
| Handle<Object> object,
|
| Handle<Object> key) {
|
| - // Check for values that can be converted into a symbol.
|
| - // TODO(1295): Remove this code.
|
| - HandleScope scope(isolate());
|
| - if (key->IsHeapNumber() &&
|
| - isnan(HeapNumber::cast(*key)->value())) {
|
| - key = isolate()->factory()->nan_symbol();
|
| - } else if (key->IsUndefined()) {
|
| - key = isolate()->factory()->undefined_symbol();
|
| - }
|
| -
|
| if (key->IsSymbol()) {
|
| Handle<String> name = Handle<String>::cast(key);
|
|
|
|
|