V8 Project
v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback > Class Template Reference

#include <splay-tree.h>

+ Collaboration diagram for v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >:

Public Member Functions

 Locator (Node *node)
 
 Locator ()
 
const Keykey ()
 
Valuevalue ()
 
void set_value (const Value &value)
 
void bind (Node *node)
 
 NodeToPairAdaptor (Callback *callback)
 
void Call (Node *node)
 
 NodeDeleter ()
 
void Call (Node *node)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (NodeToPairAdaptor)
 
 DISALLOW_COPY_AND_ASSIGN (NodeDeleter)
 

Private Attributes

Nodenode_
 
Callback * callback_
 

Detailed Description

template<typename Config, class AllocationPolicy>
template<class Callback>
class v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >

Definition at line 136 of file splay-tree.h.

Member Function Documentation

◆ bind()

template<typename Config , class AllocationPolicy >
template<class Callback >
void v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::bind ( Node node)
inline

Definition at line 143 of file splay-tree.h.

143 { node_ = node; }

◆ Call() [1/2]

template<typename Config , class AllocationPolicy >
template<class Callback >
void v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::Call ( Node node)
inline

Definition at line 172 of file splay-tree.h.

172  {
173  callback_->Call(node->key(), node->value());
174  }

References v8::internal::SplayTree< Config, AllocationPolicy >::Node::key(), and v8::internal::SplayTree< Config, AllocationPolicy >::Node::value().

+ Here is the call graph for this function:

◆ Call() [2/2]

template<typename Config , class AllocationPolicy >
template<class Callback >
void v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::Call ( Node node)
inline

Definition at line 185 of file splay-tree.h.

185 { AllocationPolicy::Delete(node); }

◆ DISALLOW_COPY_AND_ASSIGN() [1/2]

template<typename Config , class AllocationPolicy >
template<class Callback >
v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::DISALLOW_COPY_AND_ASSIGN ( NodeDeleter  )
private

◆ DISALLOW_COPY_AND_ASSIGN() [2/2]

template<typename Config , class AllocationPolicy >
template<class Callback >
v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::DISALLOW_COPY_AND_ASSIGN ( NodeToPairAdaptor  )
private

◆ key()

template<typename Config , class AllocationPolicy >
template<class Callback >
const Key& v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::key ( )
inline

Definition at line 140 of file splay-tree.h.

140 { return node_->key_; }

◆ Locator() [1/2]

template<typename Config , class AllocationPolicy >
template<class Callback >
v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::Locator ( )
inline

Definition at line 139 of file splay-tree.h.

139 : node_(NULL) { }
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

◆ Locator() [2/2]

template<typename Config , class AllocationPolicy >
template<class Callback >
v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::Locator ( Node node)
inlineexplicit

Definition at line 138 of file splay-tree.h.

138 : node_(node) { }

◆ NodeDeleter()

template<typename Config , class AllocationPolicy >
template<class Callback >
v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::NodeDeleter ( )
inline

Definition at line 184 of file splay-tree.h.

184 { }

◆ NodeToPairAdaptor()

template<typename Config , class AllocationPolicy >
template<class Callback >
v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::NodeToPairAdaptor ( Callback *  callback)
inlineexplicit

Definition at line 170 of file splay-tree.h.

171  : callback_(callback) { }

◆ set_value()

template<typename Config , class AllocationPolicy >
template<class Callback >
void v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::set_value ( const Value value)
inline

Definition at line 142 of file splay-tree.h.

◆ value()

template<typename Config , class AllocationPolicy >
template<class Callback >
Value& v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::value ( )
inline

Definition at line 141 of file splay-tree.h.

141 { return node_->value_; }

Member Data Documentation

◆ callback_

template<typename Config , class AllocationPolicy >
template<class Callback >
Callback* v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::callback_
private

Definition at line 177 of file splay-tree.h.

◆ node_

template<typename Config , class AllocationPolicy >
template<class Callback >
Node* v8::internal::SplayTree< Config, AllocationPolicy >::BASE_EMBEDDED< Callback >::node_
private

Definition at line 146 of file splay-tree.h.


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