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

Unified Diff: src/platform/mutex.h

Issue 153773002: A64: Synchronize with r16679. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/platform/elapsed-timer.h ('k') | src/platform/mutex.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/mutex.h
diff --git a/src/platform/mutex.h b/src/platform/mutex.h
index ff519b9f0832fe24cdb1ae8e861f7203fd0be957..0f899ca59764bc7563a4b63d45d051d4db7c089a 100644
--- a/src/platform/mutex.h
+++ b/src/platform/mutex.h
@@ -81,10 +81,10 @@ class Mutex V8_FINAL {
typedef CRITICAL_SECTION NativeHandle;
#endif
- NativeHandle& native_handle() V8_WARN_UNUSED_RESULT {
+ NativeHandle& native_handle() {
return native_handle_;
}
- const NativeHandle& native_handle() const V8_WARN_UNUSED_RESULT {
+ const NativeHandle& native_handle() const {
return native_handle_;
}
@@ -94,14 +94,14 @@ class Mutex V8_FINAL {
int level_;
#endif
- V8_INLINE(void AssertHeldAndUnmark()) {
+ V8_INLINE void AssertHeldAndUnmark() {
#ifdef DEBUG
ASSERT_EQ(1, level_);
level_--;
#endif
}
- V8_INLINE(void AssertUnheldAndMark()) {
+ V8_INLINE void AssertUnheldAndMark() {
#ifdef DEBUG
ASSERT_EQ(0, level_);
level_++;
@@ -177,10 +177,10 @@ class RecursiveMutex V8_FINAL {
// The implementation-defined native handle type.
typedef Mutex::NativeHandle NativeHandle;
- NativeHandle& native_handle() V8_WARN_UNUSED_RESULT {
+ NativeHandle& native_handle() {
return native_handle_;
}
- const NativeHandle& native_handle() const V8_WARN_UNUSED_RESULT {
+ const NativeHandle& native_handle() const {
return native_handle_;
}
« no previous file with comments | « src/platform/elapsed-timer.h ('k') | src/platform/mutex.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698