Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index bc96c4c91ad602499dd33ccd49a92c27d1ecdef8..03a31b93d842da47a7deb7eb1c7a7b3a662dd2ac 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2225,7 +2225,7 @@ void AstGraphBuilder::VisitThrow(Throw* expr) { |
void AstGraphBuilder::VisitProperty(Property* expr) { |
- if (expr->obj()->IsSuperReference()) { |
+ if (expr->obj()->IsSuperPropertyReference()) { |
// TODO(turbofan): Implement super here. |
SetStackOverflow(); |
ast_context()->ProduceValue(jsgraph()->UndefinedConstant()); |
@@ -2676,7 +2676,15 @@ void AstGraphBuilder::VisitThisFunction(ThisFunction* expr) { |
} |
-void AstGraphBuilder::VisitSuperReference(SuperReference* expr) { |
+void AstGraphBuilder::VisitSuperPropertyReference( |
+ SuperPropertyReference* expr) { |
+ // TODO(turbofan): Implement super here. |
+ SetStackOverflow(); |
+ ast_context()->ProduceValue(jsgraph()->UndefinedConstant()); |
+} |
+ |
+ |
+void AstGraphBuilder::VisitSuperCallReference(SuperCallReference* expr) { |
// TODO(turbofan): Implement super here. |
SetStackOverflow(); |
ast_context()->ProduceValue(jsgraph()->UndefinedConstant()); |