Mercurial > hg > graal-compiler
diff src/os/windows/vm/os_windows.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 | 7848fc12602b |
children | c28cb37b2e1d |
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.cpp Wed May 27 13:43:27 2015 +0200 +++ b/src/os/windows/vm/os_windows.cpp Thu May 28 15:36:48 2015 +0200 @@ -2253,7 +2253,7 @@ #elif _M_AMD64 PCONTEXT ctx = exceptionInfo->ContextRecord; address pc = (address)ctx->Rip; -#ifdef GRAAL +#ifdef JVMCI assert(pc[0] >= Assembler::REX && pc[0] <= Assembler::REX_WRXB && pc[1] == 0xF7 || pc[0] == 0xF7, "not an idiv opcode"); if (pc[0] == 0xF7) { // set correct result values and continue after idiv instruction @@ -2271,7 +2271,7 @@ // set correct result values and continue after idiv instruction ctx->Rip = (DWORD)pc + 2; // idiv reg, reg is 2 bytes ctx->Rax = (DWORD)min_jint; // result -#endif // GRAAL +#endif // JVMCI ctx->Rdx = (DWORD)0; // remainder // Continue the execution #else