Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 736e8c3c50888d449c259be56db97bc83ee4b23d..5a47a7ce46e4f0ffe9c95d11cb8a07c16a7eb0b9 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1661,7 +1661,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ li(a0, Operand(Smi::FromInt(flags))); |
int properties_count = constant_properties->length() / 2; |
if (expr->may_store_doubles() || expr->depth() > 1 || |
- Serializer::enabled(isolate()) || flags != ObjectLiteral::kFastElements || |
+ masm()->serializer_enabled() || flags != ObjectLiteral::kFastElements || |
properties_count > FastCloneShallowObjectStub::kMaximumClonedProperties) { |
__ Push(a3, a2, a1, a0); |
__ CallRuntime(Runtime::kHiddenCreateObjectLiteral, 4); |