File tree 3 files changed +15
-9
lines changed
3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -8451,8 +8451,8 @@ class Internals {
8451
8451
static const int kNodeIsIndependentShift = 3;
8452
8452
static const int kNodeIsActiveShift = 4;
8453
8453
8454
- static const int kJSApiObjectType = 0xb9 ;
8455
- static const int kJSObjectType = 0xba ;
8454
+ static const int kJSApiObjectType = 0xbb ;
8455
+ static const int kJSObjectType = 0xbc ;
8456
8456
static const int kFirstNonstringType = 0x80;
8457
8457
static const int kOddballType = 0x82;
8458
8458
static const int kForeignType = 0x86;
Original file line number Diff line number Diff line change @@ -357,13 +357,15 @@ const int kStubMinorKeyBits = kSmiValueSize - kStubMajorKeyBits - 1;
357
357
V (PROMISE_REACTION_JOB_INFO_TYPE) \
358
358
V (DEBUG_INFO_TYPE) \
359
359
V (BREAK_POINT_INFO_TYPE) \
360
+ V (STACK_FRAME_INFO_TYPE) \
360
361
V (PROTOTYPE_INFO_TYPE) \
361
362
V (TUPLE2_TYPE) \
362
363
V (TUPLE3_TYPE) \
363
364
V (CONTEXT_EXTENSION_TYPE) \
364
365
V (CONSTANT_ELEMENTS_PAIR_TYPE) \
365
366
V (MODULE_TYPE) \
366
367
V (MODULE_INFO_ENTRY_TYPE) \
368
+ V (ASYNC_GENERATOR_REQUEST_TYPE) \
367
369
V (FIXED_ARRAY_TYPE) \
368
370
V (TRANSITION_ARRAY_TYPE) \
369
371
V (SHARED_FUNCTION_INFO_TYPE) \
@@ -696,13 +698,15 @@ enum InstanceType {
696
698
PROMISE_REACTION_JOB_INFO_TYPE,
697
699
DEBUG_INFO_TYPE,
698
700
BREAK_POINT_INFO_TYPE,
701
+ STACK_FRAME_INFO_TYPE,
699
702
PROTOTYPE_INFO_TYPE,
700
703
TUPLE2_TYPE,
701
704
TUPLE3_TYPE,
702
705
CONTEXT_EXTENSION_TYPE,
703
706
CONSTANT_ELEMENTS_PAIR_TYPE,
704
707
MODULE_TYPE,
705
708
MODULE_INFO_ENTRY_TYPE,
709
+ ASYNC_GENERATOR_REQUEST_TYPE,
706
710
FIXED_ARRAY_TYPE,
707
711
TRANSITION_ARRAY_TYPE,
708
712
SHARED_FUNCTION_INFO_TYPE,
Original file line number Diff line number Diff line change @@ -40,13 +40,15 @@ TEST(Object, StructListOrder) {
40
40
int last = current - 1 ;
41
41
ASSERT_LT (0 , last);
42
42
InstanceType current_type = static_cast <InstanceType>(current);
43
- #define TEST_STRUCT (type, class, name ) \
44
- current_type = InstanceType::type##_TYPE; \
45
- current = static_cast <int >(current_type); \
46
- EXPECT_EQ (last + 1 , current) \
47
- << " STRUCT_LIST is not ordered: " \
48
- << " last = " << static_cast <InstanceType>(last) \
49
- << " vs. current = " << current_type; \
43
+ #define TEST_STRUCT (type, class, name ) \
44
+ current_type = InstanceType::type##_TYPE; \
45
+ current = static_cast <int >(current_type); \
46
+ if (current_type != InstanceType::PROTOTYPE_INFO_TYPE) { \
47
+ EXPECT_EQ (last + 1 , current) \
48
+ << " STRUCT_LIST is not ordered: " \
49
+ << " last = " << static_cast <InstanceType>(last) \
50
+ << " vs. current = " << current_type; \
51
+ } \
50
52
last = current;
51
53
52
54
STRUCT_LIST (TEST_STRUCT)
You can’t perform that action at this time.
0 commit comments