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

Unified Diff: src/js/messages.js

Issue 1543803002: Revert of [proxies] Better print for proxies in d8 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/js/macros.py ('k') | src/js/object-observe.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/messages.js
diff --git a/src/js/messages.js b/src/js/messages.js
index 8016c4d5ee8ed5354330f6525779a5d6d90d6c00..3bcbfe934fbb5938181dd61b10ae68c1d6b0d2ff 100644
--- a/src/js/messages.js
+++ b/src/js/messages.js
@@ -843,7 +843,7 @@
function GetTypeName(receiver, requireConstructor) {
if (IS_NULL_OR_UNDEFINED(receiver)) return null;
- if (IS_PROXY(receiver)) return "Proxy";
+ if (%_IsJSProxy(receiver)) return "Proxy";
var constructor = %GetDataProperty(TO_OBJECT(receiver), "constructor");
if (!IS_FUNCTION(constructor)) {
« no previous file with comments | « src/js/macros.py ('k') | src/js/object-observe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698