From 50795a03f1b48855143abfbf5a6a58e6e2759fb6 Mon Sep 17 00:00:00 2001 From: "davemoore@chromium.org" Date: Mon, 9 May 2011 20:11:01 +0000 Subject: 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 --- base/compiler_specific.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'base/compiler_specific.h') 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 -- cgit v1.1