V8 Project
v8::ShellOptions Class Reference

#include <d8.h>

+ Collaboration diagram for v8::ShellOptions:

Public Member Functions

 ShellOptions ()
 
 ~ShellOptions ()
 
bool use_interactive_shell ()
 

Public Attributes

bool script_executed
 
bool last_run
 
bool send_idle_notification
 
bool invoke_weak_callbacks
 
bool stress_opt
 
bool stress_deopt
 
bool interactive_shell
 
bool test_shell
 
bool dump_heap_constants
 
bool expected_to_throw
 
bool mock_arraybuffer_allocator
 
int num_isolates
 
v8::ScriptCompiler::CompileOptions compile_options
 
SourceGroupisolate_sources
 
const char * icu_data_file
 
const char * natives_blob
 
const char * snapshot_blob
 

Detailed Description

Definition at line 196 of file d8.h.

Constructor & Destructor Documentation

◆ ShellOptions()

v8::ShellOptions::ShellOptions ( )
inline

Definition at line 198 of file d8.h.

199  : script_executed(false),
200  last_run(true),
201  send_idle_notification(false),
202  invoke_weak_callbacks(false),
203  stress_opt(false),
204  stress_deopt(false),
205  interactive_shell(false),
206  test_shell(false),
207  dump_heap_constants(false),
208  expected_to_throw(false),
210  num_isolates(1),
215  snapshot_blob(NULL) {}
@ kNoCompileOptions
Definition: v8.h:1160
const char * natives_blob
Definition: d8.h:240
SourceGroup * isolate_sources
Definition: d8.h:238
const char * icu_data_file
Definition: d8.h:239
bool mock_arraybuffer_allocator
Definition: d8.h:235
bool script_executed
Definition: d8.h:225
bool last_run
Definition: d8.h:226
const char * snapshot_blob
Definition: d8.h:241
v8::ScriptCompiler::CompileOptions compile_options
Definition: d8.h:237
bool invoke_weak_callbacks
Definition: d8.h:228
bool test_shell
Definition: d8.h:232
bool interactive_shell
Definition: d8.h:231
bool dump_heap_constants
Definition: d8.h:233
bool stress_opt
Definition: d8.h:229
bool stress_deopt
Definition: d8.h:230
bool send_idle_notification
Definition: d8.h:227
int num_isolates
Definition: d8.h:236
bool expected_to_throw
Definition: d8.h:234
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL

◆ ~ShellOptions()

v8::ShellOptions::~ShellOptions ( )
inline

Definition at line 217 of file d8.h.

217  {
218  delete[] isolate_sources;
219  }

References isolate_sources.

Member Function Documentation

◆ use_interactive_shell()

bool v8::ShellOptions::use_interactive_shell ( )
inline

Definition at line 221 of file d8.h.

221  {
223  }

References interactive_shell, script_executed, and test_shell.

Member Data Documentation

◆ compile_options

v8::ScriptCompiler::CompileOptions v8::ShellOptions::compile_options

Definition at line 237 of file d8.h.

Referenced by v8::Shell::ExecuteString().

◆ dump_heap_constants

bool v8::ShellOptions::dump_heap_constants

Definition at line 233 of file d8.h.

◆ expected_to_throw

bool v8::ShellOptions::expected_to_throw

Definition at line 234 of file d8.h.

◆ icu_data_file

const char* v8::ShellOptions::icu_data_file

Definition at line 239 of file d8.h.

◆ interactive_shell

bool v8::ShellOptions::interactive_shell

Definition at line 231 of file d8.h.

Referenced by use_interactive_shell().

◆ invoke_weak_callbacks

bool v8::ShellOptions::invoke_weak_callbacks

Definition at line 228 of file d8.h.

◆ isolate_sources

SourceGroup* v8::ShellOptions::isolate_sources

Definition at line 238 of file d8.h.

Referenced by ~ShellOptions().

◆ last_run

bool v8::ShellOptions::last_run

Definition at line 226 of file d8.h.

◆ mock_arraybuffer_allocator

bool v8::ShellOptions::mock_arraybuffer_allocator

Definition at line 235 of file d8.h.

◆ natives_blob

const char* v8::ShellOptions::natives_blob

Definition at line 240 of file d8.h.

◆ num_isolates

int v8::ShellOptions::num_isolates

Definition at line 236 of file d8.h.

◆ script_executed

bool v8::ShellOptions::script_executed

Definition at line 225 of file d8.h.

Referenced by v8::Shell::ExecuteString(), and use_interactive_shell().

◆ send_idle_notification

bool v8::ShellOptions::send_idle_notification

Definition at line 227 of file d8.h.

◆ snapshot_blob

const char* v8::ShellOptions::snapshot_blob

Definition at line 241 of file d8.h.

◆ stress_deopt

bool v8::ShellOptions::stress_deopt

Definition at line 230 of file d8.h.

◆ stress_opt

bool v8::ShellOptions::stress_opt

Definition at line 229 of file d8.h.

◆ test_shell

bool v8::ShellOptions::test_shell

Definition at line 232 of file d8.h.

Referenced by v8::Shell::ExecuteString(), and use_interactive_shell().


The documentation for this class was generated from the following file: