Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
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 |