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

Unified Diff: runtime/vm/atomic_win.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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/atomic_test.cc ('k') | runtime/vm/become.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/atomic_win.h
diff --git a/runtime/vm/atomic_win.h b/runtime/vm/atomic_win.h
index 2750f41aef8bcbe38a35970def0251f77006c80e..9f2411d13ddc2da4a84fd6e474473e5374e3cfed 100644
--- a/runtime/vm/atomic_win.h
+++ b/runtime/vm/atomic_win.h
@@ -29,7 +29,6 @@ inline uintptr_t AtomicOperations::FetchAndIncrement(uintptr_t* p) {
#endif
}
-
inline intptr_t AtomicOperations::FetchAndIncrement(intptr_t* p) {
#if defined(HOST_ARCH_X64)
return static_cast<intptr_t>(
@@ -44,7 +43,6 @@ inline intptr_t AtomicOperations::FetchAndIncrement(intptr_t* p) {
#endif
}
-
inline void AtomicOperations::IncrementBy(intptr_t* p, intptr_t value) {
#if defined(HOST_ARCH_X64)
InterlockedExchangeAdd64(reinterpret_cast<LONGLONG*>(p),
@@ -56,7 +54,6 @@ inline void AtomicOperations::IncrementBy(intptr_t* p, intptr_t value) {
#endif
}
-
inline void AtomicOperations::IncrementInt64By(int64_t* p, int64_t value) {
#if defined(HOST_ARCH_IA32) || defined(HOST_ARCH_X64)
InterlockedExchangeAdd64(reinterpret_cast<LONGLONG*>(p),
@@ -66,7 +63,6 @@ inline void AtomicOperations::IncrementInt64By(int64_t* p, int64_t value) {
#endif
}
-
inline uintptr_t AtomicOperations::FetchAndDecrement(uintptr_t* p) {
#if defined(HOST_ARCH_X64)
return static_cast<uintptr_t>(
@@ -81,7 +77,6 @@ inline uintptr_t AtomicOperations::FetchAndDecrement(uintptr_t* p) {
#endif
}
-
inline intptr_t AtomicOperations::FetchAndDecrement(intptr_t* p) {
#if defined(HOST_ARCH_X64)
return static_cast<intptr_t>(
@@ -96,7 +91,6 @@ inline intptr_t AtomicOperations::FetchAndDecrement(intptr_t* p) {
#endif
}
-
inline void AtomicOperations::DecrementBy(intptr_t* p, intptr_t value) {
#if defined(HOST_ARCH_X64)
InterlockedExchangeAdd64(reinterpret_cast<LONGLONG*>(p),
@@ -108,7 +102,6 @@ inline void AtomicOperations::DecrementBy(intptr_t* p, intptr_t value) {
#endif
}
-
#if !defined(USING_SIMULATOR)
inline uword AtomicOperations::CompareAndSwapWord(uword* ptr,
uword old_value,
« no previous file with comments | « runtime/vm/atomic_test.cc ('k') | runtime/vm/become.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698