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