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

Unified Diff: src/execution.h

Issue 2912773002: Rename "NoBarrier" memory operations to "Relaxed". (Closed)
Patch Set: comment 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 | « src/debug/debug.cc ('k') | src/heap/concurrent-marking.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index c6ea3847b8d4c9011b06281598b2d265a85216f2..9e62caf41cf3272ed1d8133f08e544383abb25dc 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -199,18 +199,18 @@ class V8_EXPORT_PRIVATE StackGuard final {
base::AtomicWord climit_;
uintptr_t jslimit() {
- return bit_cast<uintptr_t>(base::NoBarrier_Load(&jslimit_));
+ return bit_cast<uintptr_t>(base::Relaxed_Load(&jslimit_));
}
void set_jslimit(uintptr_t limit) {
- return base::NoBarrier_Store(&jslimit_,
- static_cast<base::AtomicWord>(limit));
+ return base::Relaxed_Store(&jslimit_,
+ static_cast<base::AtomicWord>(limit));
}
uintptr_t climit() {
- return bit_cast<uintptr_t>(base::NoBarrier_Load(&climit_));
+ return bit_cast<uintptr_t>(base::Relaxed_Load(&climit_));
}
void set_climit(uintptr_t limit) {
- return base::NoBarrier_Store(&climit_,
- static_cast<base::AtomicWord>(limit));
+ return base::Relaxed_Store(&climit_,
+ static_cast<base::AtomicWord>(limit));
}
PostponeInterruptsScope* postpone_interrupts_;
« no previous file with comments | « src/debug/debug.cc ('k') | src/heap/concurrent-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698