|
20 | 20 | #include "src/objects/smi.h" |
21 | 21 | #include "src/objects/tagged-index.h" |
22 | 22 | #include "src/roots/roots.h" |
23 | | - |
24 | 23 | #include "torque-generated/exported-macros-assembler-tq.h" |
25 | 24 |
|
26 | 25 | namespace v8 { |
@@ -103,6 +102,7 @@ enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol }; |
103 | 102 | V(ManyClosuresCellMap, many_closures_cell_map, ManyClosuresCellMap) \ |
104 | 103 | V(match_symbol, match_symbol, MatchSymbol) \ |
105 | 104 | V(megamorphic_symbol, megamorphic_symbol, MegamorphicSymbol) \ |
| 105 | + V(message_string, message_string, MessageString) \ |
106 | 106 | V(MetaMap, meta_map, MetaMap) \ |
107 | 107 | V(minus_Infinity_string, minus_Infinity_string, MinusInfinityString) \ |
108 | 108 | V(MinusZeroValue, minus_zero_value, MinusZero) \ |
@@ -426,6 +426,9 @@ class V8_EXPORT_PRIVATE CodeStubAssembler |
426 | 426 | return UncheckedCast<HeapObject>(value); |
427 | 427 | } |
428 | 428 |
|
| 429 | + TNode<JSAggregateError> HeapObjectToJSAggregateError( |
| 430 | + TNode<HeapObject> heap_object, Label* fail); |
| 431 | + |
429 | 432 | TNode<JSArray> HeapObjectToJSArray(TNode<HeapObject> heap_object, |
430 | 433 | Label* fail) { |
431 | 434 | GotoIfNot(IsJSArray(heap_object), fail); |
@@ -2542,6 +2545,7 @@ class V8_EXPORT_PRIVATE CodeStubAssembler |
2542 | 2545 | TNode<BoolT> IsOddball(SloppyTNode<HeapObject> object); |
2543 | 2546 | TNode<BoolT> IsOddballInstanceType(SloppyTNode<Int32T> instance_type); |
2544 | 2547 | TNode<BoolT> IsIndirectStringInstanceType(SloppyTNode<Int32T> instance_type); |
| 2548 | + TNode<BoolT> IsJSAggregateError(TNode<HeapObject> object); |
2545 | 2549 | TNode<BoolT> IsJSArrayBuffer(SloppyTNode<HeapObject> object); |
2546 | 2550 | TNode<BoolT> IsJSDataView(TNode<HeapObject> object); |
2547 | 2551 | TNode<BoolT> IsJSArrayInstanceType(SloppyTNode<Int32T> instance_type); |
|
0 commit comments