Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index a620b210a4b65156560b3788d3fa3ce8322d3ccb..72594fca5f0cd748e0a8d16f0ffd0a9fb2ba4ae2 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -643,6 +643,7 @@ Handle<JSFunction> ApiNatives::CreateApiFunction( |
case GlobalProxyType: |
type = JS_GLOBAL_PROXY_TYPE; |
instance_size += JSGlobalProxy::kSize; |
+ DCHECK_EQ(instance_size, JSGlobalProxy::kSizeWithInternalFields); |
break; |
default: |
UNREACHABLE(); |