OLD | NEW |
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 #include <iterator> | 8 #include <iterator> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 ShellOptions() | 285 ShellOptions() |
286 : script_executed(false), | 286 : script_executed(false), |
287 send_idle_notification(false), | 287 send_idle_notification(false), |
288 invoke_weak_callbacks(false), | 288 invoke_weak_callbacks(false), |
289 omit_quit(false), | 289 omit_quit(false), |
290 stress_opt(false), | 290 stress_opt(false), |
291 stress_deopt(false), | 291 stress_deopt(false), |
292 stress_runs(1), | 292 stress_runs(1), |
293 interactive_shell(false), | 293 interactive_shell(false), |
294 test_shell(false), | 294 test_shell(false), |
295 dump_heap_constants(false), | |
296 expected_to_throw(false), | 295 expected_to_throw(false), |
297 mock_arraybuffer_allocator(false), | 296 mock_arraybuffer_allocator(false), |
298 enable_inspector(false), | 297 enable_inspector(false), |
299 num_isolates(1), | 298 num_isolates(1), |
300 compile_options(v8::ScriptCompiler::kNoCompileOptions), | 299 compile_options(v8::ScriptCompiler::kNoCompileOptions), |
301 isolate_sources(NULL), | 300 isolate_sources(NULL), |
302 icu_data_file(NULL), | 301 icu_data_file(NULL), |
303 natives_blob(NULL), | 302 natives_blob(NULL), |
304 snapshot_blob(NULL), | 303 snapshot_blob(NULL), |
305 trace_enabled(false), | 304 trace_enabled(false), |
(...skipping 10 matching lines...) Expand all Loading... |
316 | 315 |
317 bool script_executed; | 316 bool script_executed; |
318 bool send_idle_notification; | 317 bool send_idle_notification; |
319 bool invoke_weak_callbacks; | 318 bool invoke_weak_callbacks; |
320 bool omit_quit; | 319 bool omit_quit; |
321 bool stress_opt; | 320 bool stress_opt; |
322 bool stress_deopt; | 321 bool stress_deopt; |
323 int stress_runs; | 322 int stress_runs; |
324 bool interactive_shell; | 323 bool interactive_shell; |
325 bool test_shell; | 324 bool test_shell; |
326 bool dump_heap_constants; | |
327 bool expected_to_throw; | 325 bool expected_to_throw; |
328 bool mock_arraybuffer_allocator; | 326 bool mock_arraybuffer_allocator; |
329 bool enable_inspector; | 327 bool enable_inspector; |
330 int num_isolates; | 328 int num_isolates; |
331 v8::ScriptCompiler::CompileOptions compile_options; | 329 v8::ScriptCompiler::CompileOptions compile_options; |
332 SourceGroup* isolate_sources; | 330 SourceGroup* isolate_sources; |
333 const char* icu_data_file; | 331 const char* icu_data_file; |
334 const char* natives_blob; | 332 const char* natives_blob; |
335 const char* snapshot_blob; | 333 const char* snapshot_blob; |
336 bool trace_enabled; | 334 bool trace_enabled; |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 int index); | 487 int index); |
490 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context, | 488 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context, |
491 const std::string& file_name); | 489 const std::string& file_name); |
492 }; | 490 }; |
493 | 491 |
494 | 492 |
495 } // namespace v8 | 493 } // namespace v8 |
496 | 494 |
497 | 495 |
498 #endif // V8_D8_H_ | 496 #endif // V8_D8_H_ |
OLD | NEW |