OSDN Git Service

target/s390x: Tidy access_prepare_nf
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 9 Jan 2023 20:18:53 +0000 (12:18 -0800)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:39 +0000 (09:15 +0100)
commitfb391b0b474c316d841f5e27fd094832a91f77f4
tree3f0a2ecf72ffa252addf01eb4029812bec408d4c
parentbebc8ade7014ca1f8afbc9d1bd297460f2e88461
target/s390x: Tidy access_prepare_nf

Assign to access struct immediately, rather than waiting
until the end of the function.  This means we can pass
address of haddr struct members instead of allocating
extra space on the local stack.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230109201856.3916639-5-richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/mem_helper.c