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

Unified Diff: runtime/platform/utils.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/platform/text_buffer.cc ('k') | runtime/platform/utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/utils.h
diff --git a/runtime/platform/utils.h b/runtime/platform/utils.h
index beed22b5a55968698c887acfc5954ec99f2f2580..8b81e97337eac64794a0f62fb93f31ec90fa958f 100644
--- a/runtime/platform/utils.h
+++ b/runtime/platform/utils.h
@@ -183,7 +183,6 @@ class Utils {
((b < 0) && (a > (kMaxInt64 + b)));
}
-
// Adds two int64_t values with wrapping around
// (two's complement arithmetic).
static inline int64_t AddWithWrapAround(int64_t a, int64_t b) {
@@ -192,7 +191,6 @@ class Utils {
static_cast<uint64_t>(b));
}
-
// Subtracts two int64_t values with wrapping around
// (two's complement arithmetic).
static inline int64_t SubWithWrapAround(int64_t a, int64_t b) {
@@ -201,7 +199,6 @@ class Utils {
static_cast<uint64_t>(b));
}
-
// Multiplies two int64_t values with wrapping around
// (two's complement arithmetic).
static inline int64_t MulWithWrapAround(int64_t a, int64_t b) {
@@ -210,7 +207,6 @@ class Utils {
static_cast<uint64_t>(b));
}
-
// Shifts int64_t value left. Supports any non-negative number of bits and
// silently discards shifted out bits.
static inline int64_t ShiftLeftWithTruncation(int64_t a, int64_t b) {
@@ -222,7 +218,6 @@ class Utils {
return static_cast<int64_t>(static_cast<uint64_t>(a) << b);
}
-
// Utility functions for converting values from host endianness to
// big or little endian values.
static uint16_t HostToBigEndian16(uint16_t host_value);
« no previous file with comments | « runtime/platform/text_buffer.cc ('k') | runtime/platform/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698