security/sandbox/chromium/base/debug/alias.cc

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
michael@0 2 // Use of this source code is governed by a BSD-style license that can be
michael@0 3 // found in the LICENSE file.
michael@0 4
michael@0 5 #include "base/debug/alias.h"
michael@0 6 #include "build/build_config.h"
michael@0 7
michael@0 8 namespace base {
michael@0 9 namespace debug {
michael@0 10
michael@0 11 #if defined(COMPILER_MSVC)
michael@0 12 #pragma optimize("", off)
michael@0 13 #endif
michael@0 14
michael@0 15 void Alias(const void* var) {
michael@0 16 }
michael@0 17
michael@0 18 #if defined(COMPILER_MSVC)
michael@0 19 #pragma optimize("", on)
michael@0 20 #endif
michael@0 21
michael@0 22 } // namespace debug
michael@0 23 } // namespace base

mercurial