diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-04-29 12:45:34 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-08-14 19:01:25 +0000 |
commit | f0967a1add1e01df75607b9de5ef6cf83bfa0f82 (patch) | |
tree | b21da8d49a41d18123213fcd7a455f3849fa98d6 /target-i386/misc_helper.c | |
parent | d3eb5eaeb56e48891bb98ab5f092f43e142e3f28 (diff) |
x86: avoid AREG0 for condition code helpers
Add an explicit CPUX86State parameter instead of relying on AREG0.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/misc_helper.c')
-rw-r--r-- | target-i386/misc_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/misc_helper.c b/target-i386/misc_helper.c index ce675b7218..272a636b05 100644 --- a/target-i386/misc_helper.c +++ b/target-i386/misc_helper.c @@ -102,7 +102,7 @@ void helper_into(int next_eip_addend) { int eflags; - eflags = helper_cc_compute_all(CC_OP); + eflags = cpu_cc_compute_all(env, CC_OP); if (eflags & CC_O) { raise_interrupt(env, EXCP04_INTO, 1, 0, next_eip_addend); } |