OLD | NEW |
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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 } | 260 } |
261 default: | 261 default: |
262 break; | 262 break; |
263 } | 263 } |
264 } | 264 } |
265 return; | 265 return; |
266 } | 266 } |
267 | 267 |
268 } // namespace internal | 268 } // namespace internal |
269 | 269 |
270 void InitilizeVtuneForV8() { | 270 void InitializeVtuneForV8() { |
271 if (v8::V8::Initialize()) { | 271 if (v8::V8::Initialize()) { |
272 v8::V8::SetFlagsFromString("--nocompact_code_space", | 272 v8::V8::SetFlagsFromString("--nocompact_code_space", |
273 (int)strlen("--nocompact_code_space")); | 273 (int)strlen("--nocompact_code_space")); |
274 v8::V8::SetJitCodeEventHandler(v8::kJitCodeEventDefault, | 274 v8::V8::SetJitCodeEventHandler(v8::kJitCodeEventDefault, |
275 vTune::internal::VTUNEJITInterface::event_handler); | 275 vTune::internal::VTUNEJITInterface::event_handler); |
276 } | 276 } |
277 } | 277 } |
278 | 278 |
279 } // namespace vTune | 279 } // namespace vTune |
OLD | NEW |