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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/sandbox/chromium/base/debug/alias.cc	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
     1.5 +// Use of this source code is governed by a BSD-style license that can be
     1.6 +// found in the LICENSE file.
     1.7 +
     1.8 +#include "base/debug/alias.h"
     1.9 +#include "build/build_config.h"
    1.10 +
    1.11 +namespace base {
    1.12 +namespace debug {
    1.13 +
    1.14 +#if defined(COMPILER_MSVC)
    1.15 +#pragma optimize("", off)
    1.16 +#endif
    1.17 +
    1.18 +void Alias(const void* var) {
    1.19 +}
    1.20 +
    1.21 +#if defined(COMPILER_MSVC)
    1.22 +#pragma optimize("", on)
    1.23 +#endif
    1.24 +
    1.25 +}  // namespace debug
    1.26 +}  // namespace base

mercurial