1.1 --- a/src/cpu/x86/vm/c1_Runtime1_x86.cpp Thu Dec 04 14:34:11 2014 +0100 1.2 +++ b/src/cpu/x86/vm/c1_Runtime1_x86.cpp Tue Dec 09 12:25:38 2014 -0800 1.3 @@ -675,7 +675,7 @@ 1.4 case handle_exception_nofpu_id: 1.5 case handle_exception_id: 1.6 // At this point all registers MAY be live. 1.7 - oop_map = save_live_registers(sasm, 1 /*thread*/, id == handle_exception_nofpu_id); 1.8 + oop_map = save_live_registers(sasm, 1 /*thread*/, id != handle_exception_nofpu_id); 1.9 break; 1.10 case handle_exception_from_callee_id: { 1.11 // At this point all registers except exception oop (RAX) and 1.12 @@ -748,7 +748,7 @@ 1.13 case handle_exception_nofpu_id: 1.14 case handle_exception_id: 1.15 // Restore the registers that were saved at the beginning. 1.16 - restore_live_registers(sasm, id == handle_exception_nofpu_id); 1.17 + restore_live_registers(sasm, id != handle_exception_nofpu_id); 1.18 break; 1.19 case handle_exception_from_callee_id: 1.20 // WIN64_ONLY: No need to add frame::arg_reg_save_area_bytes to SP