| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 435)
|
| +++ src/heap.cc (working copy)
|
| @@ -1872,7 +1872,7 @@
|
|
|
| Object* Heap::AllocateSymbol(unibrow::CharacterStream* buffer,
|
| int chars,
|
| - int hash) {
|
| + uint32_t length_field) {
|
| // Ensure the chars matches the number of characters in the buffer.
|
| ASSERT(static_cast<unsigned>(chars) == buffer->Length());
|
| // Determine whether the string is ascii.
|
| @@ -1914,7 +1914,7 @@
|
|
|
| reinterpret_cast<HeapObject*>(result)->set_map(map);
|
| // The hash value contains the length of the string.
|
| - String::cast(result)->set_length_field(hash);
|
| + String::cast(result)->set_length_field(length_field);
|
|
|
| ASSERT_EQ(size, String::cast(result)->Size());
|
|
|
|
|