Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 9aa67811cd6733900a64535e097cdee9448d6fe8..917da32cc786e108824d14a741c35a10c46e5d06 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -632,7 +632,7 @@ Node* CodeStubAssembler::AllocateSeqOneByteString(int length) { |
StoreMapNoWriteBarrier(result, LoadRoot(Heap::kOneByteStringMapRootIndex)); |
StoreObjectFieldNoWriteBarrier(result, SeqOneByteString::kLengthOffset, |
SmiConstant(Smi::FromInt(length))); |
- StoreObjectFieldNoWriteBarrier(result, SeqOneByteString::kHashFieldSlot, |
+ StoreObjectFieldNoWriteBarrier(result, SeqOneByteString::kHashFieldOffset, |
IntPtrConstant(String::kEmptyHashField)); |
return result; |
} |
@@ -659,7 +659,7 @@ Node* CodeStubAssembler::AllocateSeqOneByteString(Node* context, Node* length) { |
StoreMapNoWriteBarrier(result, LoadRoot(Heap::kOneByteStringMapRootIndex)); |
StoreObjectFieldNoWriteBarrier(result, SeqOneByteString::kLengthOffset, |
SmiFromWord(length)); |
- StoreObjectFieldNoWriteBarrier(result, SeqOneByteString::kHashFieldSlot, |
+ StoreObjectFieldNoWriteBarrier(result, SeqOneByteString::kHashFieldOffset, |
IntPtrConstant(String::kEmptyHashField)); |
var_result.Bind(result); |
Goto(&if_join); |
@@ -683,7 +683,7 @@ Node* CodeStubAssembler::AllocateSeqTwoByteString(int length) { |
StoreMapNoWriteBarrier(result, LoadRoot(Heap::kStringMapRootIndex)); |
StoreObjectFieldNoWriteBarrier(result, SeqTwoByteString::kLengthOffset, |
SmiConstant(Smi::FromInt(length))); |
- StoreObjectFieldNoWriteBarrier(result, SeqTwoByteString::kHashFieldSlot, |
+ StoreObjectFieldNoWriteBarrier(result, SeqTwoByteString::kHashFieldOffset, |
IntPtrConstant(String::kEmptyHashField)); |
return result; |
} |
@@ -710,7 +710,7 @@ Node* CodeStubAssembler::AllocateSeqTwoByteString(Node* context, Node* length) { |
StoreMapNoWriteBarrier(result, LoadRoot(Heap::kStringMapRootIndex)); |
StoreObjectFieldNoWriteBarrier(result, SeqTwoByteString::kLengthOffset, |
SmiFromWord(length)); |
- StoreObjectFieldNoWriteBarrier(result, SeqTwoByteString::kHashFieldSlot, |
+ StoreObjectFieldNoWriteBarrier(result, SeqTwoByteString::kHashFieldOffset, |
IntPtrConstant(String::kEmptyHashField)); |
var_result.Bind(result); |
Goto(&if_join); |