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

Unified Diff: src/objects-printer.cc

Issue 1292753007: [es6] Parameter scopes for sloppy eval (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months 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
« src/contexts.cc ('K') | « src/objects-inl.h ('k') | src/parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index 3a5bb806a21894b60e3c0d7a01ceff2505af2223..26f206dd7ca4445f0754498a543406cb5e28dd86 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -966,6 +966,15 @@ void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT
}
+void SloppyBlockWithEvalContextExtension::
+ SloppyBlockWithEvalContextExtensionPrint(std::ostream& os) { // NOLINT
+ HeapObject::PrintHeader(os, "SloppyBlockWithEvalContextExtension");
+ os << "\n - scope_info: " << Brief(scope_info());
+ os << "\n - extension: " << Brief(extension());
+ os << "\n";
+}
+
+
void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "AccessorPair");
os << "\n - getter: " << Brief(getter());
« src/contexts.cc ('K') | « src/objects-inl.h ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698