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

Side by Side Diff: src/d8.h

Issue 2208873002: [Tracing] Create TraceConfig JSON string parser in D8. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: update Created 4 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
« no previous file with comments | « include/libplatform/v8-tracing.h ('k') | src/d8.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 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_D8_H_ 5 #ifndef V8_D8_H_
6 #define V8_D8_H_ 6 #define V8_D8_H_
7 7
8 #ifndef V8_SHARED 8 #ifndef V8_SHARED
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/hashmap.h" 10 #include "src/base/hashmap.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 test_shell(false), 284 test_shell(false),
285 dump_heap_constants(false), 285 dump_heap_constants(false),
286 expected_to_throw(false), 286 expected_to_throw(false),
287 mock_arraybuffer_allocator(false), 287 mock_arraybuffer_allocator(false),
288 num_isolates(1), 288 num_isolates(1),
289 compile_options(v8::ScriptCompiler::kNoCompileOptions), 289 compile_options(v8::ScriptCompiler::kNoCompileOptions),
290 isolate_sources(NULL), 290 isolate_sources(NULL),
291 icu_data_file(NULL), 291 icu_data_file(NULL),
292 natives_blob(NULL), 292 natives_blob(NULL),
293 snapshot_blob(NULL), 293 snapshot_blob(NULL),
294 trace_enabled(false) {} 294 trace_enabled(false),
295 trace_config(NULL) {}
295 296
296 ~ShellOptions() { 297 ~ShellOptions() {
297 delete[] isolate_sources; 298 delete[] isolate_sources;
298 } 299 }
299 300
300 bool use_interactive_shell() { 301 bool use_interactive_shell() {
301 return (interactive_shell || !script_executed) && !test_shell; 302 return (interactive_shell || !script_executed) && !test_shell;
302 } 303 }
303 304
304 bool script_executed; 305 bool script_executed;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); 477 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate);
477 static MaybeLocal<Context> CreateRealm( 478 static MaybeLocal<Context> CreateRealm(
478 const v8::FunctionCallbackInfo<v8::Value>& args); 479 const v8::FunctionCallbackInfo<v8::Value>& args);
479 }; 480 };
480 481
481 482
482 } // namespace v8 483 } // namespace v8
483 484
484 485
485 #endif // V8_D8_H_ 486 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « include/libplatform/v8-tracing.h ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698