V8 Project
v8::internal::HUseListNode Class Reference

#include <hydrogen-instructions.h>

+ Inheritance diagram for v8::internal::HUseListNode:
+ Collaboration diagram for v8::internal::HUseListNode:

Public Member Functions

 HUseListNode (HValue *value, int index, HUseListNode *tail)
 
HUseListNodetail ()
 
HValuevalue () const
 
int index () const
 
void set_tail (HUseListNode *list)
 
- Public Member Functions inherited from v8::internal::ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Private Attributes

HUseListNodetail_
 
HValuevalue_
 
int index_
 

Detailed Description

Definition at line 291 of file hydrogen-instructions.h.

Constructor & Destructor Documentation

◆ HUseListNode()

v8::internal::HUseListNode::HUseListNode ( HValue value,
int  index,
HUseListNode tail 
)
inline

Member Function Documentation

◆ index()

int v8::internal::HUseListNode::index ( ) const
inline

Definition at line 299 of file hydrogen-instructions.h.

299 { return index_; }

References index_.

Referenced by v8::internal::HValue::RemoveUse(), and v8::internal::HValue::ReplaceAllUsesWith().

+ Here is the caller graph for this function:

◆ set_tail()

void v8::internal::HUseListNode::set_tail ( HUseListNode list)
inline

Definition at line 301 of file hydrogen-instructions.h.

301 { tail_ = list; }

References tail_.

Referenced by v8::internal::HValue::RegisterUse(), v8::internal::HValue::RemoveUse(), and v8::internal::HValue::ReplaceAllUsesWith().

+ Here is the caller graph for this function:

◆ tail()

HUseListNode * v8::internal::HUseListNode::tail ( )

Definition at line 321 of file hydrogen-instructions.cc.

321  {
322  // Skip and remove dead items in the use list.
323  while (tail_ != NULL && tail_->value()->CheckFlag(HValue::kIsDead)) {
324  tail_ = tail_->tail_;
325  }
326  return tail_;
327 }
bool CheckFlag(Flag f) const
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 v8::internal::HValue::CheckFlag(), v8::internal::HValue::kIsDead, NULL, tail_, and value().

Referenced by v8::internal::HValue::HasMultipleUses(), v8::internal::HValue::HasOneUse(), v8::internal::HValue::Kill(), v8::internal::HValue::RemoveUse(), and v8::internal::HValue::ReplaceAllUsesWith().

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

◆ value()

HValue* v8::internal::HUseListNode::value ( ) const
inline

Definition at line 298 of file hydrogen-instructions.h.

298 { return value_; }

References value_.

Referenced by v8::internal::HValue::Kill(), v8::internal::HValue::RemoveUse(), v8::internal::HValue::ReplaceAllUsesWith(), and tail().

+ Here is the caller graph for this function:

Member Data Documentation

◆ index_

int v8::internal::HUseListNode::index_
private

Definition at line 314 of file hydrogen-instructions.h.

Referenced by index().

◆ tail_

HUseListNode* v8::internal::HUseListNode::tail_
private

Definition at line 312 of file hydrogen-instructions.h.

Referenced by set_tail(), and tail().

◆ value_

HValue* v8::internal::HUseListNode::value_
private

Definition at line 313 of file hydrogen-instructions.h.

Referenced by value().


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