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

Side by Side Diff: src/third_party/vtune/vtune-jit.cc

Issue 21173004: Version 3.20.11.1 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 months 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 | « src/stub-cache.cc ('k') | src/version.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 This file is provided under a dual BSD/GPLv2 license. When using or 2 This file is provided under a dual BSD/GPLv2 license. When using or
3 redistributing this file, you may do so under either license. 3 redistributing this file, you may do so under either license.
4 4
5 GPL LICENSE SUMMARY 5 GPL LICENSE SUMMARY
6 6
7 Copyright(c) 2005-2012 Intel Corporation. All rights reserved. 7 Copyright(c) 2005-2012 Intel Corporation. All rights reserved.
8 8
9 This program is free software; you can redistribute it and/or modify 9 This program is free software; you can redistribute it and/or modify
10 it under the terms of version 2 of the GNU General Public License as 10 it under the terms of version 2 of the GNU General Public License as
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 */ 57 */
58 #include <string.h> 58 #include <string.h>
59 59
60 #ifdef WIN32 60 #ifdef WIN32
61 #include <hash_map> 61 #include <hash_map>
62 using namespace std; 62 using namespace std;
63 #else 63 #else
64 // To avoid GCC 4.4 compilation warning about hash_map being deprecated. 64 // To avoid GCC 4.4 compilation warning about hash_map being deprecated.
65 #define OLD_DEPRECATED __DEPRECATED 65 #define OLD_DEPRECATED __DEPRECATED
66 #undef __DEPRECATED 66 #undef __DEPRECATED
67 #if defined (ANDROID)
68 #include <hash_map>
69 using namespace std;
70 #else
71 #include <ext/hash_map> 67 #include <ext/hash_map>
68 #define __DEPRECATED OLD_DEPRECATED
72 using namespace __gnu_cxx; 69 using namespace __gnu_cxx;
73 #endif 70 #endif
74 #define __DEPRECATED OLD_DEPRECATED
75 #endif
76 71
77 #include <list> 72 #include <list>
78 73
79 #include "v8-vtune.h" 74 #include "v8-vtune.h"
80 #include "vtune-jit.h" 75 #include "vtune-jit.h"
81 76
82 namespace vTune { 77 namespace vTune {
83 namespace internal { 78 namespace internal {
84 79
85 80
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 void InitializeVtuneForV8() { 269 void InitializeVtuneForV8() {
275 if (v8::V8::Initialize()) { 270 if (v8::V8::Initialize()) {
276 v8::V8::SetFlagsFromString("--nocompact_code_space", 271 v8::V8::SetFlagsFromString("--nocompact_code_space",
277 (int)strlen("--nocompact_code_space")); 272 (int)strlen("--nocompact_code_space"));
278 v8::V8::SetJitCodeEventHandler(v8::kJitCodeEventDefault, 273 v8::V8::SetJitCodeEventHandler(v8::kJitCodeEventDefault,
279 vTune::internal::VTUNEJITInterface::event_handler); 274 vTune::internal::VTUNEJITInterface::event_handler);
280 } 275 }
281 } 276 }
282 277
283 } // namespace vTune 278 } // namespace vTune
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698