comparison src/os_cpu/windows_x86/vm/thread_windows_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 c28cb37b2e1d
comparison
equal deleted inserted replaced
21558:d563baeca9df 21559:be896a1983c0
72 return false; 72 return false;
73 } 73 }
74 74
75 frame ret_frame(ret_sp, ret_fp, addr.pc()); 75 frame ret_frame(ret_sp, ret_fp, addr.pc());
76 if (!ret_frame.safe_for_sender(jt)) { 76 if (!ret_frame.safe_for_sender(jt)) {
77 #if defined(COMPILER2) || defined(GRAAL) 77 #if defined(COMPILER2) || defined(JVMCI)
78 // C2 and Graal use ebp as a general register see if NULL fp helps 78 // C2 and JVMCI use ebp as a general register see if NULL fp helps
79 frame ret_frame2(ret_sp, NULL, addr.pc()); 79 frame ret_frame2(ret_sp, NULL, addr.pc());
80 if (!ret_frame2.safe_for_sender(jt)) { 80 if (!ret_frame2.safe_for_sender(jt)) {
81 // nothing else to try if the frame isn't good 81 // nothing else to try if the frame isn't good
82 return false; 82 return false;
83 } 83 }
84 ret_frame = ret_frame2; 84 ret_frame = ret_frame2;
85 #else 85 #else
86 // nothing else to try if the frame isn't good 86 // nothing else to try if the frame isn't good
87 return false; 87 return false;
88 #endif /* COMPILER2 || GRAAL */ 88 #endif /* COMPILER2 || JVMCI */
89 } 89 }
90 *fr_addr = ret_frame; 90 *fr_addr = ret_frame;
91 return true; 91 return true;
92 } 92 }
93 93