Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 052a83a6574584df8fbbcbe0a21fc5cbfa0e4ae6..87fb2794218b4f39bc88ec62b52786b7cafdfaed 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1508,7 +1508,7 @@ void FullCodeGenerator::VisitClassLiteral(ClassLiteral* lit) { |
EmitClassDefineProperties(lit); |
- // Set constructor to have fast properties. |
+ // Set both the prototype and constructor to have fast properties. |
CallRuntimeWithOperands(Runtime::kFinalizeClassDefinition); |
if (lit->class_variable_proxy() != nullptr) { |