Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index 92ec283350fd515c9aa7f46ecb3a41fd79b097b1..8f2b26ec8f2b4f778da644b6f4964072461e57da 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -13872,9 +13872,6 @@ class InternalizedStringKey : public HashTableKey { |
| } |
| MaybeObject* AsObject(Heap* heap) { |
| - // Attempt to flatten the string, so that internalized strings will most |
| - // often be flat strings. |
| - string_ = string_->TryFlattenGetString(); |
|
Michael Starzinger
2014/04/01 10:55:18
I am not an expert on this, but doesn't it still m
|
| // Internalize the string if possible. |
| Map* map = heap->InternalizedStringMapForString(string_); |
| if (map != NULL) { |