Chromium Code Reviews| Index: runtime/vm/os_win.cc |
| diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc |
| index 87d2247dc01d1d65412a9f0259074b234bd1ed5d..0c5bb0e3550ea40dc9068d240fdfbfd76b51b25e 100644 |
| --- a/runtime/vm/os_win.cc |
| +++ b/runtime/vm/os_win.cc |
| @@ -265,6 +265,11 @@ void OS::DebugBreak() { |
| } |
| +DART_NOINLINE uintptr_t OS::GetProgramCounter() { |
| + return reinterpret_cast<uintptr_t>(_ReturnAddress()); |
| +} |
| + |
| + |
| char* OS::StrNDup(const char* s, intptr_t n) { |
| intptr_t len = strlen(s); |
| if ((n < 0) || (len < 0)) { |