Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: runtime/vm/thread_interrupter_win.cc

Issue 317773002: Fix Win64 build of Dart VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/stub_code_x64_test.cc ('k') | tools/build.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread_interrupter_win.cc
diff --git a/runtime/vm/thread_interrupter_win.cc b/runtime/vm/thread_interrupter_win.cc
index b39c1882972e1e36824bd85c16229671462d2201..ef9223fcf351d65f117ba7f45157fcc1db3941d8 100644
--- a/runtime/vm/thread_interrupter_win.cc
+++ b/runtime/vm/thread_interrupter_win.cc
@@ -26,9 +26,9 @@ class ThreadInterrupterWin : public AllStatic {
state->fp = static_cast<uintptr_t>(context.Ebp);
state->sp = static_cast<uintptr_t>(context.Esp);
#elif defined(TARGET_ARCH_X64)
- state->pc = reinterpret_cast<uintptr_t>(context.Rip);
- state->fp = reinterpret_cast<uintptr_t>(context.Rbp);
- state->sp = reinterpret_cast<uintptr_t>(context.Rsp);
+ state->pc = static_cast<uintptr_t>(context.Rip);
+ state->fp = static_cast<uintptr_t>(context.Rbp);
+ state->sp = static_cast<uintptr_t>(context.Rsp);
#else
UNIMPLEMENTED();
#endif
« no previous file with comments | « runtime/vm/stub_code_x64_test.cc ('k') | tools/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698