| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index c4b9b31bcee45b8a10661526adc3d96be7bd322a..f5e0119c607432a047a2cc6fe8c40aee7979f023 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -902,9 +902,9 @@ void AstGraphBuilder::VisitClassLiteralContents(ClassLiteral* expr) {
|
| switch (property->kind()) {
|
| case ObjectLiteral::Property::CONSTANT:
|
| case ObjectLiteral::Property::MATERIALIZED_LITERAL:
|
| + case ObjectLiteral::Property::PROTOTYPE:
|
| UNREACHABLE();
|
| - case ObjectLiteral::Property::COMPUTED:
|
| - case ObjectLiteral::Property::PROTOTYPE: {
|
| + case ObjectLiteral::Property::COMPUTED: {
|
| const Operator* op =
|
| javascript()->CallRuntime(Runtime::kDefineClassMethod, 3);
|
| NewNode(op, receiver, key, value);
|
|
|