V8 Project
v8::ExtensionConfiguration Class Reference

A container for extension names. More...

#include <v8.h>

+ Collaboration diagram for v8::ExtensionConfiguration:

Public Member Functions

 ExtensionConfiguration ()
 
 ExtensionConfiguration (int name_count, const char *names[])
 
const char ** begin () const
 
const char ** end () const
 

Private Attributes

const int name_count_
 
const char ** names_
 

Detailed Description

A container for extension names.

Definition at line 5424 of file v8.h.

Constructor & Destructor Documentation

◆ ExtensionConfiguration() [1/2]

v8::ExtensionConfiguration::ExtensionConfiguration ( )
inline

Definition at line 5426 of file v8.h.

5426 : name_count_(0), names_(NULL) { }
const int name_count_
Definition: v8.h:5434
const char ** names_
Definition: v8.h:5435
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

◆ ExtensionConfiguration() [2/2]

v8::ExtensionConfiguration::ExtensionConfiguration ( int  name_count,
const char *  names[] 
)
inline

Definition at line 5427 of file v8.h.

5428  : name_count_(name_count), names_(names) { }

Member Function Documentation

◆ begin()

const char** v8::ExtensionConfiguration::begin ( ) const
inline

Definition at line 5430 of file v8.h.

5430 { return &names_[0]; }

◆ end()

const char** v8::ExtensionConfiguration::end ( ) const
inline

Definition at line 5431 of file v8.h.

5431 { return &names_[name_count_]; }

Member Data Documentation

◆ name_count_

const int v8::ExtensionConfiguration::name_count_
private

Definition at line 5434 of file v8.h.

◆ names_

const char** v8::ExtensionConfiguration::names_
private

Definition at line 5435 of file v8.h.


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