comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 2938:c7783b6773ea

fixed graph start frame state new option: DeoptALot lots of fixes to debug info handling in graalCodeInstaller fix to uncommon trap stub
author Lukas Stadler <lukas.stadler@jku.at>
date Fri, 10 Jun 2011 19:50:16 +0200
parents 9b8f30608e62
children be4ca325525a
comparison
equal deleted inserted replaced
2936:3fa0e12d524a 2938:c7783b6773ea
2654 // (tw) Start of graal uncommon trap code. 2654 // (tw) Start of graal uncommon trap code.
2655 __ jmp(cont); 2655 __ jmp(cont);
2656 2656
2657 int jmp_uncommon_trap_offset = __ pc() - start; 2657 int jmp_uncommon_trap_offset = __ pc() - start;
2658 __ pushptr(Address(r15_thread, in_bytes(JavaThread::ScratchA_offset()))); 2658 __ pushptr(Address(r15_thread, in_bytes(JavaThread::ScratchA_offset())));
2659 __ movptr(rscratch1, 0);
2659 2660
2660 int uncommon_trap_offset = __ pc() - start; 2661 int uncommon_trap_offset = __ pc() - start;
2661 2662
2662 // Warning: Duplicate code 2663 // Warning: Duplicate code
2663 2664
2750 // Only register save data is on the stack. 2751 // Only register save data is on the stack.
2751 // Now restore the result registers. Everything else is either dead 2752 // Now restore the result registers. Everything else is either dead
2752 // or captured in the vframeArray. 2753 // or captured in the vframeArray.
2753 RegisterSaver::restore_result_registers(masm); 2754 RegisterSaver::restore_result_registers(masm);
2754 2755
2755 // All of the register save area has been popped of the stack. Only the 2756 // All of the register save area has been poppeset_jmp_uncommon_trap_offsetd of the stack. Only the
2756 // return address remains. 2757 // return address remains.
2757 2758
2758 // Pop all the frames we must move/replace. 2759 // Pop all the frames we must move/replace.
2759 // 2760 //
2760 // Frame picture (youngest to oldest) 2761 // Frame picture (youngest to oldest)