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