comparison src/os_cpu/bsd_x86/vm/thread_bsd_x86.cpp @ 21559:be896a1983c0

recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Thu, 28 May 2015 15:36:48 +0200
parents 359f7e70ae7f
children
comparison
equal deleted inserted replaced
21558:d563baeca9df 21559:be896a1983c0
64 return false; 64 return false;
65 } 65 }
66 66
67 frame ret_frame(ret_sp, ret_fp, addr.pc()); 67 frame ret_frame(ret_sp, ret_fp, addr.pc());
68 if (!ret_frame.safe_for_sender(jt)) { 68 if (!ret_frame.safe_for_sender(jt)) {
69 #if defined(COMPILER2) || defined(GRAAL) 69 #if defined(COMPILER2) || defined(JVMCI)
70 // C2 and Graal use ebp as a general register see if NULL fp helps 70 // C2 and JVMCI use ebp as a general register see if NULL fp helps
71 frame ret_frame2(ret_sp, NULL, addr.pc()); 71 frame ret_frame2(ret_sp, NULL, addr.pc());
72 if (!ret_frame2.safe_for_sender(jt)) { 72 if (!ret_frame2.safe_for_sender(jt)) {
73 // nothing else to try if the frame isn't good 73 // nothing else to try if the frame isn't good
74 return false; 74 return false;
75 } 75 }
76 ret_frame = ret_frame2; 76 ret_frame = ret_frame2;
77 #else 77 #else
78 // nothing else to try if the frame isn't good 78 // nothing else to try if the frame isn't good
79 return false; 79 return false;
80 #endif /* COMPILER2 || GRAAL*/ 80 #endif /* COMPILER2 || JVMCI*/
81 } 81 }
82 *fr_addr = ret_frame; 82 *fr_addr = ret_frame;
83 return true; 83 return true;
84 } 84 }
85 85