Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index ab1b06256e0301b0ba60ef4705a203ed9a3476b5..5a78003140010b8b4dbb5ea5c74462371039300e 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -641,6 +641,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(); |