Index: src/js/messages.js |
diff --git a/src/js/messages.js b/src/js/messages.js |
index a5037c38476ebd20697a17d357c75965e64f3853..6b7306a7d35c6c54190c420b0a9804034edd3692 100644 |
--- a/src/js/messages.js |
+++ b/src/js/messages.js |
@@ -841,7 +841,7 @@ function FormatStackTrace(obj, raw_stack) { |
function GetTypeName(receiver, requireConstructor) { |
if (IS_NULL_OR_UNDEFINED(receiver)) return null; |
- if (%_IsJSProxy(receiver)) return "Proxy"; |
+ if (IS_PROXY(receiver)) return "Proxy"; |
var constructor = %GetDataProperty(TO_OBJECT(receiver), "constructor"); |
if (!IS_FUNCTION(constructor)) { |