Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 5ae9f2ce71406b96f5cbf3d96b3e3ee8b5baa95a..630e247caf8863b2ffafd47cf91db22d370b91b3 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -1603,7 +1603,8 @@ void BytecodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
// Deep-copy the literal boilerplate. |
uint8_t flags = CreateObjectLiteralFlags::Encode( |
expr->IsFastCloningSupported(), |
- FastCloneShallowObjectStub::PropertiesCount(expr->properties_count()), |
+ ConstructorBuiltinsAssembler::FastCloneShallowObjectPropertiesCount( |
+ expr->properties_count()), |
expr->ComputeFlags()); |
// If constant properties is an empty fixed array, use our cached |
// empty_fixed_array to ensure it's only added to the constant pool once. |