Index: src/compiler/js-native-context-specialization.cc |
diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc |
index 6280c81f386b41260562558a8cbc501e84760bea..ebe80c9bb91de1895356f0e13bfcf85821e053c9 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -253,7 +253,9 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess( |
simplified()->LoadField(AccessBuilder::ForJSObjectProperties()), |
this_storage, this_effect, this_control); |
} |
- FieldAccess field_access = {kTaggedBase, field_index.offset(), name, |
+ const char* field_name = |
+ AccessBuilder::GetNameForTracing(name, graph()->zone()); |
+ FieldAccess field_access = {kTaggedBase, field_index.offset(), field_name, |
field_type, MachineType::AnyTagged()}; |
if (access_mode == AccessMode::kLoad) { |
if (field_type->Is(Type::UntaggedFloat64())) { |
@@ -263,7 +265,7 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess( |
graph()->NewNode(simplified()->LoadField(field_access), |
this_storage, this_effect, this_control); |
field_access.offset = HeapNumber::kValueOffset; |
- field_access.name = MaybeHandle<Name>(); |
+ field_access.name = "HeapNumber::value"; |
} |
field_access.machine_type = MachineType::Float64(); |
} |
@@ -308,7 +310,7 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess( |
graph()->NewNode(simplified()->LoadField(field_access), |
this_storage, this_effect, this_control); |
field_access.offset = HeapNumber::kValueOffset; |
- field_access.name = MaybeHandle<Name>(); |
+ field_access.name = "HeapNumber::value"; |
field_access.machine_type = MachineType::Float64(); |
} |
} else { |