helper_lret_protected fix for kqemu (Paul Brook)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 7 Apr 2005 20:33:08 +0000 (20:33 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 7 Apr 2005 20:33:08 +0000 (20:33 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1357 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/helper.c

index a15ec5a..b358c2e 100644 (file)
@@ -2118,7 +2118,6 @@ void helper_lret_protected(int shift, int addend)
     helper_ret_protected(shift, 0, addend);
 #ifdef USE_KQEMU
     if (kqemu_is_ok(env)) {
-        CC_OP = CC_OP_EFLAGS;
         env->exception_index = -1;
         cpu_loop_exit();
     }