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

Unified Diff: src/objects-printer.cc

Issue 1417063011: [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removing unreachable code Created 5 years, 1 month 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 | « src/objects-inl.h ('k') | src/runtime/runtime-debug.cc » ('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 a845e06f232b9f0ec18e9592b98df20a98ed9102..25a348a8d86097ad9e68fb5302add6a6a929cc34 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -733,11 +733,13 @@ void JSDate::JSDatePrint(std::ostream& os) { // NOLINT
void JSProxy::JSProxyPrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "JSProxy");
- os << " - map = " << reinterpret_cast<void*>(map()) << "\n";
- os << " - handler = ";
- handler()->Print(os);
+ os << " - map = " << reinterpret_cast<void*>(map());
+ os << "\n - target = ";
+ target()->ShortPrint(os);
+ os << "\n - handler = ";
+ handler()->ShortPrint(os);
os << "\n - hash = ";
- hash()->Print(os);
+ hash()->ShortPrint(os);
os << "\n";
}
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698