Index: src/runtime/runtime-proxy.cc |
diff --git a/src/runtime/runtime-proxy.cc b/src/runtime/runtime-proxy.cc |
index ab9f8a1703b7ea9800b4f318671d3e8e61be3d89..de8231e2e95061b9055f23c5c1167b0c75ade5ce 100644 |
--- a/src/runtime/runtime-proxy.cc |
+++ b/src/runtime/runtime-proxy.cc |
@@ -135,7 +135,7 @@ RUNTIME_FUNCTION(Runtime_JSProxyConstruct) { |
RUNTIME_FUNCTION(Runtime_IsJSProxy) { |
SealHandleScope shs(isolate); |
- DCHECK(args.length() == 1); |
+ DCHECK_EQ(1, args.length()); |
CONVERT_ARG_CHECKED(Object, obj, 0); |
return isolate->heap()->ToBoolean(obj->IsJSProxy()); |
} |
@@ -143,7 +143,7 @@ RUNTIME_FUNCTION(Runtime_IsJSProxy) { |
RUNTIME_FUNCTION(Runtime_JSProxyGetHandler) { |
SealHandleScope shs(isolate); |
- DCHECK(args.length() == 1); |
+ DCHECK_EQ(1, args.length()); |
CONVERT_ARG_CHECKED(JSProxy, proxy, 0); |
return proxy->handler(); |
} |
@@ -151,7 +151,7 @@ RUNTIME_FUNCTION(Runtime_JSProxyGetHandler) { |
RUNTIME_FUNCTION(Runtime_JSProxyGetTarget) { |
SealHandleScope shs(isolate); |
- DCHECK(args.length() == 1); |
+ DCHECK_EQ(1, args.length()); |
CONVERT_ARG_CHECKED(JSProxy, proxy, 0); |
return proxy->target(); |
} |
@@ -159,7 +159,7 @@ RUNTIME_FUNCTION(Runtime_JSProxyGetTarget) { |
RUNTIME_FUNCTION(Runtime_JSProxyRevoke) { |
HandleScope scope(isolate); |
- DCHECK(args.length() == 1); |
+ DCHECK_EQ(1, args.length()); |
CONVERT_ARG_HANDLE_CHECKED(JSProxy, proxy, 0); |
JSProxy::Revoke(proxy); |
return isolate->heap()->undefined_value(); |