| Index: src/heap-inl.h
|
| ===================================================================
|
| --- src/heap-inl.h (revision 4222)
|
| +++ src/heap-inl.h (working copy)
|
| @@ -283,11 +283,11 @@
|
| const int length = str->length();
|
| Object* obj = str->TryFlatten();
|
| if (length <= kMaxAlwaysFlattenLength ||
|
| - unflattended_strings_length_ >= kFlattenLongThreshold) {
|
| + unflattened_strings_length_ >= kFlattenLongThreshold) {
|
| return obj;
|
| }
|
| if (obj->IsFailure()) {
|
| - unflattended_strings_length_ += length;
|
| + unflattened_strings_length_ += length;
|
| }
|
| return str;
|
| }
|
|
|