Index: src/prettyprinter.cc |
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc |
index b659b2c8361c6187820d9c3becff75597816a030..bcb8cb3ddeb805cc11da9cdfccbf550b328cdb55 100644 |
--- a/src/prettyprinter.cc |
+++ b/src/prettyprinter.cc |
@@ -325,8 +325,9 @@ void CallPrinter::VisitCallNew(CallNew* node) { |
void CallPrinter::VisitCallRuntime(CallRuntime* node) { |
- if (node->function() == |
- Runtime::FunctionForId(Runtime::kInlineDefaultConstructorCallSuper)) { |
+ if (!node->is_jsruntime() && |
+ node->function() == |
+ Runtime::FunctionForId(Runtime::kInlineDefaultConstructorCallSuper)) { |
found_ = true; |
Print("super"); |
done_ = true; |