Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Unified Diff: src/ast/prettyprinter.cc

Issue 1517243002: [es6] Remove the %DefaultConstructorCallSuper intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@GetSuperConstructor
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/linkage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/prettyprinter.cc
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc
index 05590f30cb01224b0801e27bd9391d237fbe727e..1f6b8c31debb8376d3aff273ab6c7d8e40b0fed7 100644
--- a/src/ast/prettyprinter.cc
+++ b/src/ast/prettyprinter.cc
@@ -348,14 +348,6 @@ void CallPrinter::VisitCallNew(CallNew* node) {
void CallPrinter::VisitCallRuntime(CallRuntime* node) {
- if (!node->is_jsruntime() &&
- node->function() ==
- Runtime::FunctionForId(Runtime::kInlineDefaultConstructorCallSuper)) {
- found_ = true;
- Print("super");
- done_ = true;
- return;
- }
FindArguments(node->arguments());
}
« no previous file with comments | « no previous file | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698