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)) { |