From 08e2ead4030bd90d0d7827a455e9f0167958badf Mon Sep 17 00:00:00 2001 From: Roland Westrelin Date: Wed, 13 Oct 2010 10:29:31 +0200 Subject: [PATCH] 6991211: assert failure on sparc: "can not have caller-save register operands at calls" Fixes sparc only assert failure following 6972540 Reviewed-by: never --- hotspot/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp b/hotspot/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp index 4dfe4c5b640..f9aaf1f77e1 100644 --- a/hotspot/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp +++ b/hotspot/src/cpu/sparc/vm/c1_LinearScan_sparc.hpp @@ -64,7 +64,7 @@ inline bool LinearScanWalker::pd_init_regs_for_alloc(Interval* cur) { _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;