| Index: src/heap/heap-inl.h
|
| diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
|
| index adb6e25bb710c581d8a6ae7b571b5eddc4732908..0a899d525c991e7715412e3a79a1dbdba284f0ac 100644
|
| --- a/src/heap/heap-inl.h
|
| +++ b/src/heap/heap-inl.h
|
| @@ -461,8 +461,7 @@ bool Heap::AllowedToBeMigrated(HeapObject* obj, AllocationSpace dst) {
|
| return dst == src || dst == TargetSpaceId(type);
|
| case OLD_POINTER_SPACE:
|
| return dst == src && (dst == TargetSpaceId(type) || obj->IsFiller() ||
|
| - (obj->IsExternalString() &&
|
| - ExternalString::cast(obj)->is_short()));
|
| + obj->IsExternalString());
|
| case OLD_DATA_SPACE:
|
| return dst == src && dst == TargetSpaceId(type);
|
| case CODE_SPACE:
|
|
|