V8 Project
v8::RegisteredExtension Class Reference

#include <api.h>

+ Collaboration diagram for v8::RegisteredExtension:

Public Member Functions

 RegisteredExtension (Extension *extension)
 
Extensionextension ()
 
RegisteredExtensionnext ()
 

Static Public Member Functions

static void Register (RegisteredExtension *that)
 
static void UnregisterAll ()
 
static RegisteredExtensionfirst_extension ()
 

Private Attributes

Extensionextension_
 
RegisteredExtensionnext_
 

Static Private Attributes

static RegisteredExtensionfirst_extension_ = NULL
 

Detailed Description

Definition at line 122 of file api.h.

Constructor & Destructor Documentation

◆ RegisteredExtension()

v8::RegisteredExtension::RegisteredExtension ( Extension extension)
explicit

Definition at line 377 of file api.cc.

378  : extension_(extension) { }
Extension * extension()
Definition: api.h:127
Extension * extension_
Definition: api.h:131

Member Function Documentation

◆ extension()

Extension* v8::RegisteredExtension::extension ( )
inline

Definition at line 127 of file api.h.

127 { return extension_; }

References extension_.

◆ first_extension()

static RegisteredExtension* v8::RegisteredExtension::first_extension ( )
inlinestatic

Definition at line 129 of file api.h.

129 { return first_extension_; }
static RegisteredExtension * first_extension_
Definition: api.h:133

References first_extension_.

◆ next()

RegisteredExtension* v8::RegisteredExtension::next ( )
inline

Definition at line 128 of file api.h.

128 { return next_; }
RegisteredExtension * next_
Definition: api.h:132

Referenced by UnregisterAll().

+ Here is the caller graph for this function:

◆ Register()

void v8::RegisteredExtension::Register ( RegisteredExtension that)
static

Definition at line 381 of file api.cc.

381  {
382  that->next_ = first_extension_;
383  first_extension_ = that;
384 }

References first_extension_, and next_.

Referenced by v8::RegisterExtension().

+ Here is the caller graph for this function:

◆ UnregisterAll()

void v8::RegisteredExtension::UnregisterAll ( )
static

Definition at line 387 of file api.cc.

387  {
389  while (re != NULL) {
390  RegisteredExtension* next = re->next();
391  delete re;
392  re = next;
393  }
395 }
RegisteredExtension * next()
Definition: api.h:128
RegisteredExtension(Extension *extension)
Definition: api.cc:377
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

References first_extension_, next(), and NULL.

Referenced by v8::internal::V8::TearDown().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ extension_

Extension* v8::RegisteredExtension::extension_
private

Definition at line 131 of file api.h.

Referenced by extension().

◆ first_extension_

RegisteredExtension * v8::RegisteredExtension::first_extension_ = NULL
staticprivate

Definition at line 133 of file api.h.

Referenced by first_extension(), Register(), and UnregisterAll().

◆ next_

RegisteredExtension* v8::RegisteredExtension::next_
private

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