Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index dc1ba72f96cc8d4e53db78b043cfd2c8b8f88eb7..19d9a20f889c8a5f7f1c086ac84f4f3e7119b7b7 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -144,6 +144,7 @@ |
// - ObjectTemplateInfo |
// - Script |
// - DebugInfo |
+// - BreakPoint |
// - BreakPointInfo |
// - CodeCache |
// - PrototypeInfo |
@@ -358,6 +359,7 @@ const int kStubMinorKeyBits = kSmiValueSize - kStubMajorKeyBits - 1; |
V(PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE) \ |
V(PROMISE_REACTION_JOB_INFO_TYPE) \ |
V(DEBUG_INFO_TYPE) \ |
+ V(BREAK_POINT_TYPE) \ |
V(BREAK_POINT_INFO_TYPE) \ |
V(PROTOTYPE_INFO_TYPE) \ |
V(TUPLE2_TYPE) \ |
@@ -527,6 +529,7 @@ const int kStubMinorKeyBits = kSmiValueSize - kStubMajorKeyBits - 1; |
V(PROMISE_REACTION_JOB_INFO, PromiseReactionJobInfo, \ |
promise_reaction_job_info) \ |
V(DEBUG_INFO, DebugInfo, debug_info) \ |
+ V(BREAK_POINT, BreakPoint, break_point) \ |
V(BREAK_POINT_INFO, BreakPointInfo, break_point_info) \ |
V(PROTOTYPE_INFO, PrototypeInfo, prototype_info) \ |
V(TUPLE2, Tuple2, tuple2) \ |
@@ -698,6 +701,7 @@ enum InstanceType { |
PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE, |
PROMISE_REACTION_JOB_INFO_TYPE, |
DEBUG_INFO_TYPE, |
+ BREAK_POINT_TYPE, |
BREAK_POINT_INFO_TYPE, |
PROTOTYPE_INFO_TYPE, |
TUPLE2_TYPE, |
@@ -11433,6 +11437,24 @@ class BreakPointInfo: public Struct { |
DISALLOW_IMPLICIT_CONSTRUCTORS(BreakPointInfo); |
}; |
+class BreakPoint : public Struct { |
+ public: |
+ DECL_ACCESSORS(condition, String); |
+ DECL_ACCESSORS(data, Object); |
+ |
+ DECLARE_CAST(BreakPoint) |
+ |
+ // Dispatched behavior. |
+ DECLARE_PRINTER(BreakPoint) |
+ DECLARE_VERIFIER(BreakPoint) |
+ |
+ static const int kConditionIndex = Struct::kHeaderSize; |
+ static const int kDataIndex = kConditionIndex + kPointerSize; |
+ static const int kSize = kDataIndex + kPointerSize; |
+ |
+ private: |
+ DISALLOW_IMPLICIT_CONSTRUCTORS(BreakPoint); |
+}; |
#define VISITOR_SYNCHRONIZATION_TAGS_LIST(V) \ |
V(kStringTable, "string_table", "(Internalized strings)") \ |