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

Unified Diff: runtime/vm/thread_interrupter_fuchsia.cc

Issue 2897173006: [Fuchsia] Fix arm64 build (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread_interrupter_fuchsia.cc
diff --git a/runtime/vm/thread_interrupter_fuchsia.cc b/runtime/vm/thread_interrupter_fuchsia.cc
index e587fb6021d74e3640611903b025fb867cbe8a02..2e9b7b98642f39533c3a6080f51e33327eced470 100644
--- a/runtime/vm/thread_interrupter_fuchsia.cc
+++ b/runtime/vm/thread_interrupter_fuchsia.cc
@@ -31,7 +31,7 @@ DECLARE_FLAG(bool, trace_thread_interrupter);
// When MG-430 is resolved, the code below should be rewritten to use whatever
// feature is added for it.
-// TODO(zra): The profiler is currently off by default on Fuchsia because
+// TODO(MG-795): The profiler is currently off by default on Fuchsia because
// suspending a thread that is in a call to pthread_cond_wait() causes
// pthread_cond_wait() to return ETIMEDOUT.
@@ -58,8 +58,8 @@ class ThreadInterrupterFuchsia : public AllStatic {
state->csp = static_cast<uintptr_t>(regs->rsp);
state->dsp = static_cast<uintptr_t>(regs->rsp);
#elif defined(TARGET_ARCH_ARM64)
- mx_aarch64_general_regs_t* regs =
- reinterpret_cast<mx_aarch64_general_regs_t*>(&buf[0]);
+ mx_arm64_general_regs_t* regs =
+ reinterpret_cast<mx_arm64_general_regs_t*>(&buf[0]);
state->pc = static_cast<uintptr_t>(regs->pc);
state->fp = static_cast<uintptr_t>(regs->r[FPREG]);
state->csp = static_cast<uintptr_t>(regs->sp);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698