Mercurial > hg > graal-jvmci-8
comparison src/os/windows/vm/os_windows.cpp @ 16780:534439756990
Fixed compile error in os_windows.cpp.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 12 Aug 2014 01:34:02 +0200 |
parents | b1911c1e44c8 |
children | 3eed8712d410 |
comparison
equal
deleted
inserted
replaced
16779:e52ad0d3b7d6 | 16780:534439756990 |
---|---|
3673 } | 3673 } |
3674 | 3674 |
3675 address os::get_pc(void* context) { | 3675 address os::get_pc(void* context) { |
3676 CONTEXT* uc = (CONTEXT*)context; | 3676 CONTEXT* uc = (CONTEXT*)context; |
3677 #ifdef _M_AMD64 | 3677 #ifdef _M_AMD64 |
3678 return (address) context.Rip; | 3678 return (address) uc->Rip; |
3679 #else | 3679 #else |
3680 return (address) context.Eip; | 3680 return (address) uc->Eip; |
3681 #endif | 3681 #endif |
3682 } | 3682 } |
3683 | 3683 |
3684 | 3684 |
3685 // GetCurrentThreadId() returns DWORD | 3685 // GetCurrentThreadId() returns DWORD |