Hexagon: fix outdated `hex_new_*` comments
authorMatheus Tavares Bernardino <quic_mathbern@quicinc.com>
Wed, 24 May 2023 14:41:48 +0000 (11:41 -0300)
committerTaylor Simpson <tsimpson@quicinc.com>
Fri, 26 May 2023 14:03:41 +0000 (07:03 -0700)
commit2babbd93904721c538148a497ad5d5aa6cd2e1ef
treed40c900feb31d3b8f7c3c0d7af84c3ad75d05e57
parent3608c2419c95e7477dd282bb1268c78029501df8
Hexagon: fix outdated `hex_new_*` comments

Some code comments refer to hex_new_value and hex_new_pred_value, which
have been transferred to DisasContext and, in the case of hex_new_value,
should now be accessed through get_result_gpr().

In order to fix this outdated comments and also avoid having to tweak
them whenever we make a variable name change in the future, let's
replace them with pseudocode.

Suggested-by: Taylor Simpson <tsimpson@quicinc.com>
Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <8e1689e28dd7b1318369b55127cf47b82ab75921.1684939078.git.quic_mathbern@quicinc.com>
target/hexagon/genptr.c
target/hexagon/translate.c