Index: src/sweeper-thread.cc |
diff --git a/src/sweeper-thread.cc b/src/sweeper-thread.cc |
index 9e28e8dbaf8c04612369520e1fe92a53c3478647..ea2553dfaa4b22189ee3a0f0d3fa59f0c75fc5e3 100644 |
--- a/src/sweeper-thread.cc |
+++ b/src/sweeper-thread.cc |
@@ -23,7 +23,7 @@ SweeperThread::SweeperThread(Isolate* isolate) |
end_sweeping_semaphore_(0), |
stop_semaphore_(0) { |
ASSERT(!FLAG_job_based_sweeping); |
- NoBarrier_Store(&stop_thread_, static_cast<AtomicWord>(false)); |
+ base::NoBarrier_Store(&stop_thread_, static_cast<base::AtomicWord>(false)); |
} |
@@ -36,7 +36,7 @@ void SweeperThread::Run() { |
while (true) { |
start_sweeping_semaphore_.Wait(); |
- if (Acquire_Load(&stop_thread_)) { |
+ if (base::Acquire_Load(&stop_thread_)) { |
stop_semaphore_.Signal(); |
return; |
} |
@@ -49,7 +49,7 @@ void SweeperThread::Run() { |
void SweeperThread::Stop() { |
- Release_Store(&stop_thread_, static_cast<AtomicWord>(true)); |
+ base::Release_Store(&stop_thread_, static_cast<base::AtomicWord>(true)); |
start_sweeping_semaphore_.Signal(); |
stop_semaphore_.Wait(); |
Join(); |