Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: src/api-natives.cc

Issue 2467463002: Optionally create internal fields on global proxy objects (Closed)
Patch Set: updates Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « src/api.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698