Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index a0ce6050e529b8d4005f2da6236ad83adc83b9b4..ba78253ea064f7b0746ca1046c9721c4ee9629b0 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -155,6 +155,9 @@ void HeapObject::HeapObjectVerify() { |
break; |
case FILLER_TYPE: |
break; |
+ case JS_PROXY_TYPE: |
+ JSProxy::cast(this)->JSProxyVerify(); |
+ break; |
case PROXY_TYPE: |
Proxy::cast(this)->ProxyVerify(); |
break; |
@@ -461,6 +464,11 @@ void JSRegExp::JSRegExpVerify() { |
} |
+void JSProxy::JSProxyVerify() { |
+ ASSERT(IsJSProxy()); |
+ VerifyPointer(handler()); |
+} |
+ |
void Proxy::ProxyVerify() { |
ASSERT(IsProxy()); |
} |