| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index a7c3d7610c42ad192c2396cba4dedea79370ec67..07f180e3e0859e5ad8cfaffbc98b60aa50a4b472 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -1181,7 +1181,7 @@ bool String::MakeExternal(v8::String::ExternalStringResource* resource) {
|
| // the field caching the address of the backing store. When we encounter
|
| // short external strings in generated code, we need to bailout to runtime.
|
| Map* new_map;
|
| - if (size < ExternalString::kSize) {
|
| + if (true) {
|
| new_map = is_internalized
|
| ? (is_one_byte
|
| ? heap->short_external_internalized_string_with_one_byte_data_map()
|
| @@ -1247,7 +1247,7 @@ bool String::MakeExternal(v8::String::ExternalOneByteStringResource* resource) {
|
| // the field caching the address of the backing store. When we encounter
|
| // short external strings in generated code, we need to bailout to runtime.
|
| Map* new_map;
|
| - if (size < ExternalString::kSize) {
|
| + if (true) {
|
| new_map = is_internalized
|
| ? heap->short_external_one_byte_internalized_string_map()
|
| : heap->short_external_one_byte_string_map();
|
|
|