Introduce SNAPPY_ATTRIBUTE_ALWAYS_INLINE.

An internal CL started using ABSL_ATTRIBUTE_ALWAYS_INLINE
from Abseil. This CL introduces equivalent functionality as
SNAPPY_ALWAYS_INLINE.

PiperOrigin-RevId: 306289650
This commit is contained in:
Victor Costan
2020-04-13 19:47:34 +00:00
parent 231b8be076
commit a4cdb5d133
4 changed files with 19 additions and 2 deletions

View File

@@ -1358,7 +1358,7 @@ class SnappyArrayWriter {
}
}
ABSL_ATTRIBUTE_ALWAYS_INLINE
SNAPPY_ATTRIBUTE_ALWAYS_INLINE
inline bool AppendFromSelf(size_t offset, size_t len, char** op_p) {
char* const op = *op_p;
char* const op_end = op + len;