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

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

Issue 570993002: Introduce Isolate::CreateParams (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 3 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/third_party/vtune/v8-vtune.h ('k') | test/cctest/test-api.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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 264 }
265 default: 265 default:
266 break; 266 break;
267 } 267 }
268 } 268 }
269 return; 269 return;
270 } 270 }
271 271
272 } // namespace internal 272 } // namespace internal
273 273
274 void InitializeVtuneForV8() { 274 void InitializeVtuneForV8(v8::Isolate::CreateParams& params) {
275 if (v8::V8::Initialize()) { 275 v8::V8::SetFlagsFromString("--nocompact_code_space",
276 v8::V8::SetFlagsFromString("--nocompact_code_space", 276 (int)strlen("--nocompact_code_space"));
277 (int)strlen("--nocompact_code_space")); 277 params.code_event_handler = vTune::internal::VTUNEJITInterface::event_handler;
278 v8::V8::SetJitCodeEventHandler(v8::kJitCodeEventDefault,
279 vTune::internal::VTUNEJITInterface::event_handler);
280 }
281 } 278 }
282 279
283 } // namespace vTune 280 } // namespace vTune
OLDNEW
« no previous file with comments | « src/third_party/vtune/v8-vtune.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698