Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index 59690a856b17d20284263552ce29143c4aea8f54..f1c603b331f402aeecd3bdc6cf4b98927422448e 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -1142,7 +1142,14 @@ void AstPrinter::VisitCallNew(CallNew* node) { |
void AstPrinter::VisitCallRuntime(CallRuntime* node) { |
EmbeddedVector<char, 128> buf; |
- SNPrintF(buf, "CALL RUNTIME %s", node->debug_name()); |
+ if (node->is_jsruntime()) { |
+ SNPrintF( |
+ buf, "CALL RUNTIME %s code = %p", node->debug_name(), |
+ static_cast<void*>(isolate_->context()->get(node->context_index()))); |
+ } else { |
+ SNPrintF(buf, "CALL RUNTIME %s", node->debug_name()); |
+ } |
+ |
IndentedScope indent(this, buf.start(), node->position()); |
PrintArguments(node->arguments()); |
} |