[compiler][cleanup] Remove unnecessary MakeRef call
Bug: v8:7790 Change-Id: I7c091ad3fd5e7d9a8c4b306d8559654f3fb06868 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3168271 Commit-Queue: Georg Neis <neis@chromium.org> Commit-Queue: Nico Hartmann <nicohartmann@chromium.org> Auto-Submit: Georg Neis <neis@chromium.org> Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Cr-Commit-Position: refs/heads/main@{#76901}
This commit is contained in:
parent
b3d9ba8156
commit
62133215bc
@ -1172,8 +1172,7 @@ PropertyAccessInfo AccessInfoFactory::LookupTransition(
|
|||||||
if (descriptors_field_type->IsClass()) {
|
if (descriptors_field_type->IsClass()) {
|
||||||
unrecorded_dependencies.push_back(
|
unrecorded_dependencies.push_back(
|
||||||
dependencies()->FieldTypeDependencyOffTheRecord(
|
dependencies()->FieldTypeDependencyOffTheRecord(
|
||||||
transition_map, number,
|
transition_map, number, *descriptors_field_type_ref));
|
||||||
MakeRef<Object>(broker(), descriptors_field_type)));
|
|
||||||
// Remember the field map, and try to infer a useful type.
|
// Remember the field map, and try to infer a useful type.
|
||||||
base::Optional<MapRef> maybe_field_map =
|
base::Optional<MapRef> maybe_field_map =
|
||||||
TryMakeRef(broker(), descriptors_field_type->AsClass());
|
TryMakeRef(broker(), descriptors_field_type->AsClass());
|
||||||
|
Loading…
Reference in New Issue
Block a user