@@ -1161,8 +1161,7 @@ class TurboshaftAssemblerOpInterface
1161
1161
1162
1162
template <typename... Args>
1163
1163
explicit TurboshaftAssemblerOpInterface(Args... args)
1164
- : GenericAssemblerOpInterface<Next>(args...),
1165
- matcher_(Asm().output_graph()) {}
1164
+ : matcher_(Asm().output_graph()) {}
1166
1165
1167
1166
const OperationMatcher& matcher() const { return matcher_; }
1168
1167
@@ -2420,11 +2419,11 @@ class TurboshaftAssemblerOpInterface
2420
2419
2421
2420
// Helpers to read the most common fields.
2422
2421
// 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());
2425
2424
}
2426
2425
2427
- V<Word32> LoadInstanceTypeField(V<Map> map) {
2426
+ V<Word32> LoadInstanceTypeField(V<v8::internal:: Map> map) {
2428
2427
return LoadField<Word32>(map, AccessBuilder::ForMapInstanceType());
2429
2428
}
2430
2429
@@ -3114,7 +3113,7 @@ class TurboshaftAssemblerOpInterface
3114
3113
V<Object> CallRuntime_TransitionElementsKind(Isolate* isolate,
3115
3114
V<Context> context,
3116
3115
V<HeapObject> object,
3117
- V<Map> target_map) {
3116
+ V<v8::internal:: Map> target_map) {
3118
3117
return CallRuntime<typename RuntimeCallDescriptor::TransitionElementsKind>(
3119
3118
isolate, context, {object, target_map});
3120
3119
}
@@ -3532,8 +3531,8 @@ class TurboshaftAssemblerOpInterface
3532
3531
3533
3532
void TransitionAndStoreArrayElement(
3534
3533
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) {
3537
3536
ReduceIfReachableTransitionAndStoreArrayElement(array, index, value, kind,
3538
3537
fast_map, double_map);
3539
3538
}
@@ -3546,17 +3545,17 @@ class TurboshaftAssemblerOpInterface
3546
3545
}
3547
3546
3548
3547
V<Word32> CompareMaps(V<HeapObject> heap_object,
3549
- const ZoneRefSet<Map>& maps) {
3548
+ const ZoneRefSet<v8::internal:: Map>& maps) {
3550
3549
return ReduceIfReachableCompareMaps(heap_object, maps);
3551
3550
}
3552
3551
3553
3552
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,
3555
3554
const FeedbackSource& feedback) {
3556
3555
ReduceIfReachableCheckMaps(heap_object, frame_state, maps, flags, feedback);
3557
3556
}
3558
3557
3559
- void AssumeMap(V<HeapObject> heap_object, const ZoneRefSet<Map>& maps) {
3558
+ void AssumeMap(V<HeapObject> heap_object, const ZoneRefSet<v8::internal:: Map>& maps) {
3560
3559
ReduceIfReachableAssumeMap(heap_object, maps);
3561
3560
}
3562
3561
@@ -3665,16 +3664,16 @@ class TurboshaftAssemblerOpInterface
3665
3664
return ReduceIfReachableAssertNotNull(object, type, trap_id);
3666
3665
}
3667
3666
3668
- V<Map> RttCanon(V<FixedArray> rtts, uint32_t type_index) {
3667
+ V<v8::internal:: Map> RttCanon(V<FixedArray> rtts, uint32_t type_index) {
3669
3668
return ReduceIfReachableRttCanon(rtts, type_index);
3670
3669
}
3671
3670
3672
- V<Word32> WasmTypeCheck(V<Object> object, OptionalV<Map> rtt,
3671
+ V<Word32> WasmTypeCheck(V<Object> object, OptionalV<v8::internal:: Map> rtt,
3673
3672
WasmTypeCheckConfig config) {
3674
3673
return ReduceIfReachableWasmTypeCheck(object, rtt, config);
3675
3674
}
3676
3675
3677
- V<Object> WasmTypeCast(V<Object> object, OptionalV<Map> rtt,
3676
+ V<Object> WasmTypeCast(V<Object> object, OptionalV<v8::internal:: Map> rtt,
3678
3677
WasmTypeCheckConfig config) {
3679
3678
return ReduceIfReachableWasmTypeCast(object, rtt, config);
3680
3679
}
@@ -3719,12 +3718,12 @@ class TurboshaftAssemblerOpInterface
3719
3718
return ReduceIfReachableArrayLength(array, null_check);
3720
3719
}
3721
3720
3722
- V<HeapObject> WasmAllocateArray(V<Map> rtt, ConstOrV<Word32> length,
3721
+ V<HeapObject> WasmAllocateArray(V<v8::internal:: Map> rtt, ConstOrV<Word32> length,
3723
3722
const wasm::ArrayType* array_type) {
3724
3723
return ReduceIfReachableWasmAllocateArray(rtt, resolve(length), array_type);
3725
3724
}
3726
3725
3727
- V<HeapObject> WasmAllocateStruct(V<Map> rtt,
3726
+ V<HeapObject> WasmAllocateStruct(V<v8::internal:: Map> rtt,
3728
3727
const wasm::StructType* struct_type) {
3729
3728
return ReduceIfReachableWasmAllocateStruct(rtt, struct_type);
3730
3729
}
0 commit comments