[code-reflection] RFR: 8324556: Not copy result-type when copying an op
Mourad Abbay
mabbay at openjdk.org
Thu Jan 25 17:01:02 UTC 2024
On Tue, 23 Jan 2024 21:44:50 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> 8324556: Not copy result-type when copying an op
>
> src/java.base/share/classes/java/lang/reflect/code/op/CoreOps.java line 3453:
>
>> 3451: * @return the cast operation
>> 3452: */
>> 3453: public static CastOp cast(TypeDesc resultType, TypeDesc t, Value v) {
>
> Used parameter `resultType`.
No, it can be removed.
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/6#discussion_r1466674024
More information about the babylon-dev
mailing list