Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: test/win/linker-flags/inline_test.cc

Issue 82703007: Support Visual C++ PGO in Ninja generator (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/win/linker-flags/inline_test.h ('k') | test/win/linker-flags/inline_test_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 Google Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "inline_test.h"
6
7 #include <intrin.h>
8 #pragma intrinsic(_ReturnAddress)
9
10 bool IsFunctionInlined(void* caller_return_address) {
11 return _ReturnAddress() == caller_return_address;
12 }
OLDNEW
« no previous file with comments | « test/win/linker-flags/inline_test.h ('k') | test/win/linker-flags/inline_test_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698