Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 89675b6c9a22ffb2d34e215d125a11a81890f1c8..820af7082812d68ee025f27bc11ab82a71ea0a49 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1343,8 +1343,8 @@ void FullCodeGenerator::VisitClassLiteral(ClassLiteral* lit) { |
EmitClassDefineProperties(lit); |
if (lit->class_variable_proxy() != nullptr) { |
- EmitVariableAssignment(lit->class_variable_proxy()->var(), |
- Token::INIT_CONST, lit->ProxySlot()); |
+ EmitVariableAssignment(lit->class_variable_proxy()->var(), Token::INIT, |
+ lit->ProxySlot()); |
} |
} |