V8 Project
v8::internal::compiler::CallBuffer Struct Reference

#include <instruction-selector-impl.h>

+ Collaboration diagram for v8::internal::compiler::CallBuffer:

Public Member Functions

 CallBuffer (Zone *zone, CallDescriptor *descriptor, FrameStateDescriptor *frame_state)
 
size_t input_count () const
 
size_t frame_state_count () const
 
size_t frame_state_value_count () const
 

Public Attributes

CallDescriptor * descriptor
 
FrameStateDescriptorframe_state_descriptor
 
NodeVector output_nodes
 
InstructionOperandVector outputs
 
InstructionOperandVector instruction_args
 
NodeVector pushed_nodes
 

Detailed Description

Definition at line 335 of file instruction-selector-impl.h.

Constructor & Destructor Documentation

◆ CallBuffer()

v8::internal::compiler::CallBuffer::CallBuffer ( Zone zone,
CallDescriptor *  descriptor,
FrameStateDescriptor frame_state 
)

Definition at line 235 of file instruction-selector.cc.

237  : descriptor(d),
238  frame_state_descriptor(frame_desc),
239  output_nodes(zone),
240  outputs(zone),
241  instruction_args(zone),
242  pushed_nodes(zone) {
243  output_nodes.reserve(d->ReturnCount());
244  outputs.reserve(d->ReturnCount());
245  pushed_nodes.reserve(input_count());
247 }

References frame_state_value_count(), input_count(), instruction_args, output_nodes, outputs, and pushed_nodes.

+ Here is the call graph for this function:

Member Function Documentation

◆ frame_state_count()

size_t v8::internal::compiler::CallBuffer::frame_state_count ( ) const
inline

Definition at line 348 of file instruction-selector-impl.h.

348 { return descriptor->FrameStateCount(); }

References descriptor.

◆ frame_state_value_count()

size_t v8::internal::compiler::CallBuffer::frame_state_value_count ( ) const
inline

Definition at line 350 of file instruction-selector-impl.h.

350  {
351  return (frame_state_descriptor == NULL)
352  ? 0
354  1); // Include deopt id.
355  }
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 frame_state_descriptor, v8::internal::compiler::FrameStateDescriptor::GetTotalSize(), and NULL.

Referenced by CallBuffer().

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

◆ input_count()

size_t v8::internal::compiler::CallBuffer::input_count ( ) const
inline

Definition at line 346 of file instruction-selector-impl.h.

346 { return descriptor->InputCount(); }

References descriptor.

Referenced by CallBuffer().

+ Here is the caller graph for this function:

Member Data Documentation

◆ descriptor

CallDescriptor* v8::internal::compiler::CallBuffer::descriptor

Definition at line 339 of file instruction-selector-impl.h.

Referenced by frame_state_count(), and input_count().

◆ frame_state_descriptor

FrameStateDescriptor* v8::internal::compiler::CallBuffer::frame_state_descriptor

Definition at line 340 of file instruction-selector-impl.h.

Referenced by frame_state_value_count().

◆ instruction_args

InstructionOperandVector v8::internal::compiler::CallBuffer::instruction_args

Definition at line 343 of file instruction-selector-impl.h.

Referenced by CallBuffer().

◆ output_nodes

NodeVector v8::internal::compiler::CallBuffer::output_nodes

Definition at line 341 of file instruction-selector-impl.h.

Referenced by CallBuffer().

◆ outputs

InstructionOperandVector v8::internal::compiler::CallBuffer::outputs

Definition at line 342 of file instruction-selector-impl.h.

Referenced by CallBuffer().

◆ pushed_nodes

NodeVector v8::internal::compiler::CallBuffer::pushed_nodes

Definition at line 344 of file instruction-selector-impl.h.

Referenced by CallBuffer().


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