| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index f2add26cfd85c5f0c665e5cc0a2324676eb39def..98162a50674bb927d53d596cdc6403f4011b3efe 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -357,12 +357,7 @@ bool String::IsTwoByteRepresentationUnderneath() {
|
|
|
| bool String::HasOnlyAsciiChars() {
|
| uint32_t type = map()->instance_type();
|
| -#ifndef ENABLE_LATIN_1
|
| - return (type & kStringEncodingMask) == kOneByteStringTag ||
|
| - (type & kAsciiDataHintMask) == kAsciiDataHintTag;
|
| -#else
|
| return (type & kAsciiDataHintMask) == kAsciiDataHintTag;
|
| -#endif
|
| }
|
|
|
|
|
|
|