Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 8443cfafac50cf6aff02651acfb4aa55e51fc24e..bc9bfd6fe5295991ad967f9737aebf23414fa563 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -905,9 +905,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); |