git: openjdk/jdk: 8252494: C2: TypeAryPtr::cast_to_autobox_cache does not use ptr_type

Tobias Hartmann thartmann at openjdk.java.net
Fri Sep 11 11:56:38 UTC 2020


Changeset: 9687dcab
Author:    Roberto Castaneda Lozano <roberto.castaneda.lozano at oracle.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
Date:      2020-09-11 11:55:30 +0000
URL:       https://git.openjdk.java.net/jdk/commit/9687dcab

8252494: C2: TypeAryPtr::cast_to_autobox_cache does not use ptr_type

Remove dead definition of ptr_type in TypeAryPtr::cast_to_autobox_cache. Also remove
unnecessary cache parameter (always true) for simplicity.

Reviewed-by: shade, vlivanov, thartmann

! src/hotspot/share/opto/type.cpp
! src/hotspot/share/opto/type.hpp



More information about the jdk-changes mailing list