Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 494e9311b235172d178d7afa67ac5be77204f69c..2c9b3c3a2b4464321ae72e3165ce2654a4cd0d22 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -7678,6 +7678,11 @@ bool JSGlobalProxy::IsDetachedFrom(JSGlobalObject* global) const { |
return iter.GetCurrent() != global; |
} |
+inline int JSGlobalProxy::SizeWithInternalFields(int internal_field_count) { |
+ DCHECK_GE(internal_field_count, 0); |
+ return kSize + internal_field_count * kPointerSize; |
+} |
+ |
Smi* JSReceiver::GetOrCreateIdentityHash(Isolate* isolate, |
Handle<JSReceiver> object) { |
return object->IsJSProxy() ? JSProxy::GetOrCreateIdentityHash( |