6991211: assert failure on sparc: "can not have caller-save register operands at calls"
authorroland
Wed, 13 Oct 2010 10:29:31 +0200
changeset 6777 409f81b76d89
parent 6773 48d5e03f373f
child 6778 e1b7673b2435
6991211: assert failure on sparc: "can not have caller-save register operands at calls" Summary: fixes sparc only assert failure following 6972540 Reviewed-by: never
hotspot/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp
--- a/hotspot/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp	Tue Oct 12 02:21:06 2010 -0700
+++ b/hotspot/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp	Wed Oct 13 10:29:31 2010 +0200
@@ -64,7 +64,7 @@
     _first_reg = pd_first_callee_saved_reg;
     _last_reg = pd_last_callee_saved_reg;
     return true;
-  } else if (cur->type() == T_INT || cur->type() == T_LONG || cur->type() == T_OBJECT) {
+  } else if (cur->type() == T_INT || cur->type() == T_LONG || cur->type() == T_OBJECT || cur->type() == T_ADDRESS) {
     _first_reg = pd_first_cpu_reg;
     _last_reg = pd_last_allocatable_cpu_reg;
     return true;