Index: src/ia32/code-stubs-ia32.cc |
=================================================================== |
--- src/ia32/code-stubs-ia32.cc (revision 10379) |
+++ src/ia32/code-stubs-ia32.cc (working copy) |
@@ -5610,7 +5610,7 @@ |
if (Serializer::enabled()) { |
ExternalReference roots_address = |
ExternalReference::roots_address(masm->isolate()); |
- __ mov(scratch, Immediate(Heap::kStringHashSeedRootIndex)); |
+ __ mov(scratch, Immediate(Heap::kHashSeedRootIndex)); |
__ mov(scratch, Operand::StaticArray(scratch, |
times_pointer_size, |
roots_address)); |
Erik Corry
2012/01/19 15:35:00
Oops, there's a missing SmiUntag here. I fixed it
|
@@ -5619,7 +5619,7 @@ |
__ shl(scratch, 10); |
__ add(hash, Operand(scratch)); |
} else { |
- int32_t seed = masm->isolate()->heap()->StringHashSeed(); |
+ int32_t seed = masm->isolate()->heap()->HashSeed(); |
__ lea(scratch, Operand(character, seed)); |
__ shl(scratch, 10); |
__ lea(hash, Operand(scratch, character, times_1, seed)); |