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

Unified Diff: runtime/vm/thread_interrupter_win.cc

Issue 583683002: Fixes for the profiler on arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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/thread_interrupter_macos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread_interrupter_win.cc
===================================================================
--- runtime/vm/thread_interrupter_win.cc (revision 40496)
+++ runtime/vm/thread_interrupter_win.cc (working copy)
@@ -35,11 +35,13 @@
#if defined(TARGET_ARCH_IA32)
state->pc = static_cast<uintptr_t>(context.Eip);
state->fp = static_cast<uintptr_t>(context.Ebp);
- state->sp = static_cast<uintptr_t>(context.Esp);
+ state->csp = static_cast<uintptr_t>(context.Esp);
+ state->dsp = static_cast<uintptr_t>(context.Esp);
#elif defined(TARGET_ARCH_X64)
state->pc = static_cast<uintptr_t>(context.Rip);
state->fp = static_cast<uintptr_t>(context.Rbp);
- state->sp = static_cast<uintptr_t>(context.Rsp);
+ state->csp = static_cast<uintptr_t>(context.Rsp);
+ state->dsp = static_cast<uintptr_t>(context.Rsp);
#else
UNIMPLEMENTED();
#endif
@@ -108,7 +110,6 @@
// Nothing to do on Windows.
}
-
} // namespace dart
#endif // defined(TARGET_OS_WINDOWS)
« no previous file with comments | « runtime/vm/thread_interrupter_macos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698