Mercurial > hg > graal-jvmci-8
diff src/os_cpu/windows_x86/vm/thread_windows_x86.cpp @ 11422:774e1c2f8741
Include Graal in some ifdefs related to rbp allocation
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 26 Aug 2013 18:04:53 +0200 |
parents | f2110083203d |
children | 359f7e70ae7f |
line wrap: on
line diff
--- a/src/os_cpu/windows_x86/vm/thread_windows_x86.cpp Mon Aug 26 18:03:09 2013 +0200 +++ b/src/os_cpu/windows_x86/vm/thread_windows_x86.cpp Mon Aug 26 18:04:53 2013 +0200 @@ -74,7 +74,7 @@ frame ret_frame(ret_sp, ret_fp, addr.pc()); if (!ret_frame.safe_for_sender(jt)) { -#ifdef COMPILER2 +#if defined(COMPILER2) || defined(GRAAL) // C2 uses ebp as a general register see if NULL fp helps frame ret_frame2(ret_sp, NULL, addr.pc()); if (!ret_frame2.safe_for_sender(jt)) { @@ -85,7 +85,7 @@ #else // nothing else to try if the frame isn't good return false; -#endif /* COMPILER2 */ +#endif /* COMPILER2 || GRAAL */ } *fr_addr = ret_frame; return true;