@@ -1161,8 +1161,7 @@ class TurboshaftAssemblerOpInterface
11611161
11621162 template <typename ... Args>
11631163 explicit TurboshaftAssemblerOpInterface (Args... args)
1164- : GenericAssemblerOpInterface<Next>(args...),
1165- matcher_(Asm().output_graph()) {}
1164+ : matcher_(Asm().output_graph()) {}
11661165
11671166 const OperationMatcher& matcher () const { return matcher_; }
11681167
@@ -2420,11 +2419,11 @@ class TurboshaftAssemblerOpInterface
24202419
24212420 // Helpers to read the most common fields.
24222421 // TODO(nicohartmann@): Strengthen this to `V<HeapObject>`.
2423- V<Map> LoadMapField (V<Object> object) {
2424- return LoadField<Map>(object, AccessBuilder::ForMap ());
2422+ V<v8::internal:: Map> LoadMapField (V<Object> object) {
2423+ return LoadField<v8::internal:: Map>(object, AccessBuilder::ForMap ());
24252424 }
24262425
2427- V<Word32> LoadInstanceTypeField (V<Map> map) {
2426+ V<Word32> LoadInstanceTypeField (V<v8::internal:: Map> map) {
24282427 return LoadField<Word32>(map, AccessBuilder::ForMapInstanceType ());
24292428 }
24302429
@@ -3114,7 +3113,7 @@ class TurboshaftAssemblerOpInterface
31143113 V<Object> CallRuntime_TransitionElementsKind (Isolate* isolate,
31153114 V<Context> context,
31163115 V<HeapObject> object,
3117- V<Map> target_map) {
3116+ V<v8::internal:: Map> target_map) {
31183117 return CallRuntime<typename RuntimeCallDescriptor::TransitionElementsKind>(
31193118 isolate, context, {object, target_map});
31203119 }
@@ -3532,8 +3531,8 @@ class TurboshaftAssemblerOpInterface
35323531
35333532 void TransitionAndStoreArrayElement (
35343533 V<Object> array, V<WordPtr> index, OpIndex value,
3535- TransitionAndStoreArrayElementOp::Kind kind, MaybeHandle<Map> fast_map,
3536- MaybeHandle<Map> double_map) {
3534+ TransitionAndStoreArrayElementOp::Kind kind, MaybeHandle<v8::internal:: Map> fast_map,
3535+ MaybeHandle<v8::internal:: Map> double_map) {
35373536 ReduceIfReachableTransitionAndStoreArrayElement (array, index, value, kind,
35383537 fast_map, double_map);
35393538 }
@@ -3546,17 +3545,17 @@ class TurboshaftAssemblerOpInterface
35463545 }
35473546
35483547 V<Word32> CompareMaps (V<HeapObject> heap_object,
3549- const ZoneRefSet<Map>& maps) {
3548+ const ZoneRefSet<v8::internal:: Map>& maps) {
35503549 return ReduceIfReachableCompareMaps (heap_object, maps);
35513550 }
35523551
35533552 void CheckMaps (V<HeapObject> heap_object, OpIndex frame_state,
3554- const ZoneRefSet<Map>& maps, CheckMapsFlags flags,
3553+ const ZoneRefSet<v8::internal:: Map>& maps, CheckMapsFlags flags,
35553554 const FeedbackSource& feedback) {
35563555 ReduceIfReachableCheckMaps (heap_object, frame_state, maps, flags, feedback);
35573556 }
35583557
3559- void AssumeMap (V<HeapObject> heap_object, const ZoneRefSet<Map>& maps) {
3558+ void AssumeMap (V<HeapObject> heap_object, const ZoneRefSet<v8::internal:: Map>& maps) {
35603559 ReduceIfReachableAssumeMap (heap_object, maps);
35613560 }
35623561
@@ -3665,16 +3664,16 @@ class TurboshaftAssemblerOpInterface
36653664 return ReduceIfReachableAssertNotNull (object, type, trap_id);
36663665 }
36673666
3668- V<Map> RttCanon (V<FixedArray> rtts, uint32_t type_index) {
3667+ V<v8::internal:: Map> RttCanon (V<FixedArray> rtts, uint32_t type_index) {
36693668 return ReduceIfReachableRttCanon (rtts, type_index);
36703669 }
36713670
3672- V<Word32> WasmTypeCheck (V<Object> object, OptionalV<Map> rtt,
3671+ V<Word32> WasmTypeCheck (V<Object> object, OptionalV<v8::internal:: Map> rtt,
36733672 WasmTypeCheckConfig config) {
36743673 return ReduceIfReachableWasmTypeCheck (object, rtt, config);
36753674 }
36763675
3677- V<Object> WasmTypeCast (V<Object> object, OptionalV<Map> rtt,
3676+ V<Object> WasmTypeCast (V<Object> object, OptionalV<v8::internal:: Map> rtt,
36783677 WasmTypeCheckConfig config) {
36793678 return ReduceIfReachableWasmTypeCast (object, rtt, config);
36803679 }
@@ -3719,12 +3718,12 @@ class TurboshaftAssemblerOpInterface
37193718 return ReduceIfReachableArrayLength (array, null_check);
37203719 }
37213720
3722- V<HeapObject> WasmAllocateArray (V<Map> rtt, ConstOrV<Word32> length,
3721+ V<HeapObject> WasmAllocateArray (V<v8::internal:: Map> rtt, ConstOrV<Word32> length,
37233722 const wasm::ArrayType* array_type) {
37243723 return ReduceIfReachableWasmAllocateArray (rtt, resolve (length), array_type);
37253724 }
37263725
3727- V<HeapObject> WasmAllocateStruct (V<Map> rtt,
3726+ V<HeapObject> WasmAllocateStruct (V<v8::internal:: Map> rtt,
37283727 const wasm::StructType* struct_type) {
37293728 return ReduceIfReachableWasmAllocateStruct (rtt, struct_type);
37303729 }
0 commit comments