V8 Project
v8::internal::compiler::GenericNode< B, S >::Input Class Reference

#include <generic-node.h>

+ Collaboration diagram for v8::internal::compiler::GenericNode< B, S >::Input:

Public Member Functions

void Update (GenericNode *new_to)
 

Public Attributes

GenericNodeto
 
Useuse
 

Detailed Description

template<class B, class S>
class v8::internal::compiler::GenericNode< B, S >::Input

Definition at line 108 of file generic-node.h.

Member Function Documentation

◆ Update()

template<class B , class S >
void v8::internal::compiler::GenericNode< B, S >::Input::Update ( GenericNode new_to)

Definition at line 124 of file generic-node-inl.h.

124  {
125  GenericNode* old_to = this->to;
126  if (new_to == old_to) return; // Nothing to do.
127  // Snip out the use from where it used to be
128  if (old_to != NULL) {
129  old_to->RemoveUse(use);
130  }
131  to = new_to;
132  // And put it into the new node's use list.
133  if (new_to != NULL) {
134  new_to->AppendUse(use);
135  } else {
136  use->next = NULL;
137  use->prev = NULL;
138  }
139 }
GenericNode(GenericGraphBase *graph, int input_count)
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 to().

Referenced by v8::internal::compiler::GenericNode< B, S >::ReplaceInput(), v8::internal::compiler::GenericNode< B, S >::TrimInputCount(), v8::internal::compiler::GenericNode< B, S >::Inputs::iterator::UpdateToAndIncrement(), and v8::internal::compiler::GenericNode< B, S >::Uses::iterator::UpdateToAndIncrement().

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

Member Data Documentation

◆ to

◆ use


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