| Index: src/interpreter/bytecode-generator.cc
|
| diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
|
| index 10e3f903179f8c97bf4a15cf51892ac11c98b574..f2c775ac8f3ca5ebf6045378fa0467debfa25381 100644
|
| --- a/src/interpreter/bytecode-generator.cc
|
| +++ b/src/interpreter/bytecode-generator.cc
|
| @@ -1396,7 +1396,7 @@ void BytecodeGenerator::VisitClassLiteralContents(ClassLiteral* expr) {
|
| .StoreAccumulatorInRegister(prototype);
|
|
|
| VisitClassLiteralProperties(expr, literal, prototype);
|
| - builder()->CallRuntime(Runtime::kFinalizeClassDefinition, literal, 2);
|
| + builder()->CallRuntime(Runtime::kToFastProperties, literal, 1);
|
| // Assign to class variable.
|
| if (expr->class_variable_proxy() != nullptr) {
|
| Variable* var = expr->class_variable_proxy()->var();
|
|
|