Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 5ae7096b86eb21fae2c9c4d2da0f5eb9585912b0..b49a8e303e08d2bc21e866c79a271872fcfd3652 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -450,7 +450,7 @@ void StubCompiler::GenerateCheckPropertyCell(MacroAssembler* masm, |
JSGlobalObject::EnsurePropertyCell(global, name); |
ASSERT(cell->value()->IsTheHole()); |
Handle<Oddball> the_hole = masm->isolate()->factory()->the_hole_value(); |
- if (Serializer::enabled()) { |
+ if (Serializer::enabled(masm->isolate())) { |
__ mov(scratch, Immediate(cell)); |
__ cmp(FieldOperand(scratch, PropertyCell::kValueOffset), |
Immediate(the_hole)); |
@@ -1424,7 +1424,7 @@ Handle<Code> LoadStubCompiler::CompileLoadGlobal( |
HandlerFrontendHeader(type, receiver(), global, name, &miss); |
// Get the value from the cell. |
- if (Serializer::enabled()) { |
+ if (Serializer::enabled(isolate())) { |
__ mov(eax, Immediate(cell)); |
__ mov(eax, FieldOperand(eax, PropertyCell::kValueOffset)); |
} else { |