summaryrefslogtreecommitdiff
path: root/src/profile-handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile-handler.cc')
-rw-r--r--src/profile-handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile-handler.cc b/src/profile-handler.cc
index fe3715b..64931bd 100644
--- a/src/profile-handler.cc
+++ b/src/profile-handler.cc
@@ -534,7 +534,7 @@ void ProfileHandler::SignalHandler(int sig, siginfo_t* sinfo, void* ucontext) {
// At this moment, instance_ must be initialized because the handler is
// enabled in RegisterThread or RegisterCallback only after
// ProfileHandler::Instance runs.
- ProfileHandler* instance = ANNOTATE_UNPROTECTED_READ(instance_);
+ ProfileHandler* instance = instance_;
RAW_CHECK(instance != NULL, "ProfileHandler is not initialized");
{
SpinLockHolder sl(&instance->signal_lock_);