changeset 7886:2b069b91bb98

8072129: [AARCH64] missing fix for 8066900 Summary: add 8066900 fix to arm64 code. Reviewed-by: kvn
author enevill
date Mon, 02 Feb 2015 11:29:37 -0800
parents f624acc711e2
children 55e58bfad598
files src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp	Tue Jan 27 20:49:11 2015 +0100
+++ b/src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp	Mon Feb 02 11:29:37 2015 -0800
@@ -376,7 +376,7 @@
   case handle_exception_nofpu_id:
   case handle_exception_id:
     // At this point all registers MAY be live.
-    oop_map = save_live_registers(sasm, id == handle_exception_nofpu_id);
+    oop_map = save_live_registers(sasm, id != handle_exception_nofpu_id);
     break;
   case handle_exception_from_callee_id: {
     // At this point all registers except exception oop (r0) and
@@ -440,7 +440,7 @@
   case handle_exception_nofpu_id:
   case handle_exception_id:
     // Restore the registers that were saved at the beginning.
-    restore_live_registers(sasm, id == handle_exception_nofpu_id);
+    restore_live_registers(sasm, id != handle_exception_nofpu_id);
     break;
   case handle_exception_from_callee_id:
     // Pop the return address since we are possibly changing SP (restoring from BP).