Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 78ecd33dfb3ffd302cf656c3415f80e8ab745f7c..d110d2167a857afd07beceb7f9a0cec7f3a3091e 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -510,13 +510,14 @@ void JSRegExp::JSRegExpVerify() { |
void JSProxy::JSProxyVerify() { |
- ASSERT(IsJSProxy()); |
+ CHECK(IsJSProxy()); |
VerifyPointer(handler()); |
+ ASSERT(hash()->IsSmi() || hash()->IsUndefined()); |
} |
void JSFunctionProxy::JSFunctionProxyVerify() { |
- ASSERT(IsJSFunctionProxy()); |
+ CHECK(IsJSFunctionProxy()); |
JSProxyVerify(); |
VerifyPointer(call_trap()); |
VerifyPointer(construct_trap()); |