summaryrefslogtreecommitdiffstats
path: root/base/compiler_specific.h
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 20:11:01 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 20:11:01 +0000
commit50795a03f1b48855143abfbf5a6a58e6e2759fb6 (patch)
treed4cfdf449faf2e8bea083de789e1c100f687c030 /base/compiler_specific.h
parentd9f3793208dcf490b447869bfa5cb117c45abab9 (diff)
downloadchromium_src-50795a03f1b48855143abfbf5a6a58e6e2759fb6.zip
chromium_src-50795a03f1b48855143abfbf5a6a58e6e2759fb6.tar.gz
chromium_src-50795a03f1b48855143abfbf5a6a58e6e2759fb6.tar.bz2
Add shutdown trace functions
BUG=chromium-os:14737 TEST=None Review URL: http://codereview.chromium.org/6943001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84662 0039d316-1c4b-4281-b951-d872f2087c98
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