6795465: Crash in assembler_sparc.cpp with client compiler on solaris-sparc

Reviewed-by: twisti, cfang
This commit is contained in:
Tom Rodriguez 2009-08-17 14:45:02 -07:00
parent 05c34e93bd
commit cc01c0f4f6
5 changed files with 66 additions and 20 deletions

View file

@ -320,6 +320,10 @@ void FrameMap::init () {
_caller_save_cpu_regs[3] = FrameMap::O3_opr;
_caller_save_cpu_regs[4] = FrameMap::O4_opr;
_caller_save_cpu_regs[5] = FrameMap::O5_opr;
_caller_save_cpu_regs[6] = FrameMap::G1_opr;
_caller_save_cpu_regs[7] = FrameMap::G3_opr;
_caller_save_cpu_regs[8] = FrameMap::G4_opr;
_caller_save_cpu_regs[9] = FrameMap::G5_opr;
for (int i = 0; i < nof_caller_save_fpu_regs; i++) {
_caller_save_fpu_regs[i] = LIR_OprFact::single_fpu(i);
}