| Index: src/prettyprinter.cc
|
| diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
|
| index f50d5904d0a50ce0ed49c4de9c7121f8d03b7e0d..be241162dd73f99a15b5598ef1d3627b1f7fd9e7 100644
|
| --- a/src/prettyprinter.cc
|
| +++ b/src/prettyprinter.cc
|
| @@ -321,6 +321,13 @@ void CallPrinter::VisitCallNew(CallNew* node) {
|
|
|
|
|
| void CallPrinter::VisitCallRuntime(CallRuntime* node) {
|
| + if (node->function() ==
|
| + Runtime::FunctionForId(Runtime::kInlineDefaultConstructorCallSuper)) {
|
| + found_ = true;
|
| + Print("super");
|
| + done_ = true;
|
| + return;
|
| + }
|
| FindArguments(node->arguments());
|
| }
|
|
|
| @@ -380,7 +387,9 @@ void CallPrinter::VisitThisFunction(ThisFunction* node) {}
|
| void CallPrinter::VisitSuperPropertyReference(SuperPropertyReference* node) {}
|
|
|
|
|
| -void CallPrinter::VisitSuperCallReference(SuperCallReference* node) {}
|
| +void CallPrinter::VisitSuperCallReference(SuperCallReference* node) {
|
| + Print("super");
|
| +}
|
|
|
|
|
| void CallPrinter::FindStatements(ZoneList<Statement*>* statements) {
|
|
|