Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 30c3f63ea385178dd4ad7508afd388ac22d0515b..aeb25deb468bdfa031d3b1396a5b1872bbcb1be8 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2012,6 +2012,8 @@ class JSReceiver: public HeapObject { |
bool search_hidden_prototypes = false); |
void Lookup(Name* name, LookupResult* result); |
+ bool MayHaveIndexedCallbacksInPrototypeChain(); |
+ |
protected: |
Smi* GenerateIdentityHash(); |
@@ -5289,6 +5291,9 @@ class Code: public HeapObject { |
DECLARE_VERIFIER(Code) |
void ClearInlineCaches(); |
+ void ClearInlineCaches(Kind* kind); |
+ void ClearInlineCaches(Kind kind); |
+ |
void ClearTypeFeedbackCells(Heap* heap); |
BailoutId TranslatePcOffsetToAstId(uint32_t pc_offset); |
@@ -5613,6 +5618,15 @@ class Map: public HeapObject { |
class IsUnstable: public BitField<bool, 29, 1> {}; |
class IsMigrationTarget: public BitField<bool, 30, 1> {}; |
+ // Bit field 4. |
+ inline uint32_t bit_field4(); |
+ inline void set_bit_field4(uint32_t bits); |
+ |
+ class HasElementCallbacks: public BitField<int, 0, 1> {}; |
+ |
+ inline void set_has_element_callbacks(bool value); |
+ inline bool has_element_callbacks(); |
+ |
// Tells whether the object in the prototype property will be used |
// for instances created from this function. If the prototype |
// property is set to a value that is not a JSObject, the prototype |
@@ -6159,7 +6173,8 @@ class Map: public HeapObject { |
static const int kCodeCacheOffset = kDescriptorsOffset + kPointerSize; |
static const int kDependentCodeOffset = kCodeCacheOffset + kPointerSize; |
static const int kBitField3Offset = kDependentCodeOffset + kPointerSize; |
- static const int kSize = kBitField3Offset + kPointerSize; |
+ static const int kBitField4Offset = kBitField3Offset + kPointerSize; |
+ static const int kSize = kBitField4Offset + kPointerSize; |
// Layout of pointer fields. Heap iteration code relies on them |
// being continuously allocated. |