| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 8a449cb4ae853a4fbebea1d4211bb4330ab1d332..d497e483466239519d79201244c55f56ec57c76d 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -74,34 +74,34 @@ namespace internal {
|
| V(Smi, hash_seed, HashSeed) \
|
| V(Map, symbol_map, SymbolMap) \
|
| V(Map, string_map, StringMap) \
|
| - V(Map, ascii_string_map, AsciiStringMap) \
|
| + V(Map, one_byte_string_map, OneByteStringMap) \
|
| V(Map, cons_string_map, ConsStringMap) \
|
| - V(Map, cons_ascii_string_map, ConsAsciiStringMap) \
|
| + V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \
|
| V(Map, sliced_string_map, SlicedStringMap) \
|
| - V(Map, sliced_ascii_string_map, SlicedAsciiStringMap) \
|
| + V(Map, sliced_one_byte_string_map, SlicedOneByteStringMap) \
|
| V(Map, external_string_map, ExternalStringMap) \
|
| V(Map, external_string_with_one_byte_data_map, \
|
| ExternalStringWithOneByteDataMap) \
|
| - V(Map, external_ascii_string_map, ExternalAsciiStringMap) \
|
| + V(Map, external_one_byte_string_map, ExternalOneByteStringMap) \
|
| V(Map, short_external_string_map, ShortExternalStringMap) \
|
| V(Map, short_external_string_with_one_byte_data_map, \
|
| ShortExternalStringWithOneByteDataMap) \
|
| V(Map, internalized_string_map, InternalizedStringMap) \
|
| - V(Map, ascii_internalized_string_map, AsciiInternalizedStringMap) \
|
| + V(Map, one_byte_internalized_string_map, OneByteInternalizedStringMap) \
|
| V(Map, external_internalized_string_map, ExternalInternalizedStringMap) \
|
| V(Map, external_internalized_string_with_one_byte_data_map, \
|
| ExternalInternalizedStringWithOneByteDataMap) \
|
| - V(Map, external_ascii_internalized_string_map, \
|
| - ExternalAsciiInternalizedStringMap) \
|
| + V(Map, external_one_byte_internalized_string_map, \
|
| + ExternalOneByteInternalizedStringMap) \
|
| V(Map, short_external_internalized_string_map, \
|
| ShortExternalInternalizedStringMap) \
|
| V(Map, short_external_internalized_string_with_one_byte_data_map, \
|
| ShortExternalInternalizedStringWithOneByteDataMap) \
|
| - V(Map, short_external_ascii_internalized_string_map, \
|
| - ShortExternalAsciiInternalizedStringMap) \
|
| - V(Map, short_external_ascii_string_map, ShortExternalAsciiStringMap) \
|
| + V(Map, short_external_one_byte_internalized_string_map, \
|
| + ShortExternalOneByteInternalizedStringMap) \
|
| + V(Map, short_external_one_byte_string_map, ShortExternalOneByteStringMap) \
|
| V(Map, undetectable_string_map, UndetectableStringMap) \
|
| - V(Map, undetectable_ascii_string_map, UndetectableAsciiStringMap) \
|
| + V(Map, undetectable_one_byte_string_map, UndetectableOneByteStringMap) \
|
| V(Map, external_int8_array_map, ExternalInt8ArrayMap) \
|
| V(Map, external_uint8_array_map, ExternalUint8ArrayMap) \
|
| V(Map, external_int16_array_map, ExternalInt16ArrayMap) \
|
| @@ -1694,9 +1694,9 @@ class Heap {
|
| Object* filler);
|
|
|
| // Allocate and partially initializes a String. There are two String
|
| - // encodings: ASCII and two byte. These functions allocate a string of the
|
| - // given length and set its map and length fields. The characters of the
|
| - // string are uninitialized.
|
| + // encodings: one-byte and two-byte. These functions allocate a string of
|
| + // the given length and set its map and length fields. The characters of
|
| + // the string are uninitialized.
|
| MUST_USE_RESULT AllocationResult
|
| AllocateRawOneByteString(int length, PretenureFlag pretenure);
|
| MUST_USE_RESULT AllocationResult
|
| @@ -1748,7 +1748,7 @@ class Heap {
|
|
|
|
|
| // Computes a single character string where the character has code.
|
| - // A cache is used for ASCII codes.
|
| + // A cache is used for one-byte (Latin1) codes.
|
| MUST_USE_RESULT AllocationResult
|
| LookupSingleCharacterStringFromCode(uint16_t code);
|
|
|
|
|