Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 6fcc1a62db65b5c2f0fd445597eb390504570ced..8f9928efb823616902cccfd30cdf0439e78673a4 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -3213,7 +3213,7 @@ void StringHelper::GenerateHashInit(MacroAssembler* masm, |
Register character, |
Register scratch) { |
// hash = (seed + character) + ((seed + character) << 10); |
- if (Serializer::enabled(masm->isolate())) { |
+ if (masm->serializer_enabled()) { |
__ LoadRoot(scratch, Heap::kHashSeedRootIndex); |
__ SmiUntag(scratch); |
__ add(scratch, character); |