Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index ae0ec7a6fb3347ee5d9e3ecaaed4722324d7394a..405370ff1bd72445ce73c7adaccc5f62298a3557 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3727,6 +3727,11 @@ class Code: public HeapObject { |
inline byte to_boolean_state(); |
inline void set_to_boolean_state(byte value); |
+ // For kind STUB, major_key == CallFunction, tells whether there is |
+ // a function cache in the instruction stream. |
+ inline bool has_function_cache(); |
+ inline void set_has_function_cache(bool flag); |
+ |
// Get the safepoint entry for the given pc. |
SafepointEntry GetSafepointEntry(Address pc); |
@@ -3866,6 +3871,7 @@ class Code: public HeapObject { |
static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1; |
static const int kCompareStateOffset = kStubMajorKeyOffset + 1; |
static const int kToBooleanTypeOffset = kStubMajorKeyOffset + 1; |
+ static const int kHasFunctionCacheOffset = kStubMajorKeyOffset + 1; |
static const int kFullCodeFlags = kOptimizableOffset + 1; |
class FullCodeFlagsHasDeoptimizationSupportField: |