target/i386: Assert LMA for x86_64 user-only
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 14 May 2021 15:13:05 +0000 (10:13 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 May 2021 17:15:46 +0000 (12:15 -0500)
commit73e90dc458b8f7d5802fc364359c125305ea04fa
treee708b1452b63e9ce0f7460466bca4260acbfaf16
parenteec7d0f8386b600046843117d86b1189491cc5df
target/i386: Assert LMA for x86_64 user-only

LMA is a pre-requisite for CODE64, so there is no way to disable it
for x86_64-linux-user, and there is no way to enable it for i386.

Since we're adding an accessor macro, pull the value directly out
of flags when we're not assuming a constant.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-14-richard.henderson@linaro.org>
target/i386/tcg/translate.c