summaryrefslogtreecommitdiffstats
path: root/base/compiler_specific.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/compiler_specific.h')
-rw-r--r--base/compiler_specific.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/compiler_specific.h b/base/compiler_specific.h
index 3060306..43ff21c 100644
--- a/base/compiler_specific.h
+++ b/base/compiler_specific.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -74,8 +74,10 @@
// int x ALLOW_UNUSED = ...;
#if defined(COMPILER_GCC)
#define ALLOW_UNUSED __attribute__((unused))
+#define NOINLINE __attribute__((noinline))
#else
#define ALLOW_UNUSED
+#define NOINLINE
#endif
// Annotate a virtual method indicating it must be overriding a virtual