Reviewers: Michael Starzinger,

Message:
PTAL

It was unreachable as it should have been.

Description:
[turbofan] VisitSuperCallReference is not reachable

BUG=N
LOG=N
[email protected]

Please review this at https://codereview.chromium.org/1226443004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+2, -2 lines):
  M src/compiler/ast-graph-builder.cc


Index: src/compiler/ast-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc index d04fc62c71dc060cc321b5cb8fe3f3c8ad08875a..341aedc09910e393ea375c32184e62d981dee77a 100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -2844,8 +2844,8 @@ void AstGraphBuilder::VisitSuperPropertyReference(


 void AstGraphBuilder::VisitSuperCallReference(SuperCallReference* expr) {
-  Node* value = BuildThrowUnsupportedSuperError(expr->id());
-  ast_context()->ProduceValue(value);
+  // Handled by VisitCall
+  UNREACHABLE();
 }




--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to