V8 Project
v8::internal::compiler::RawMachineAssembler::Label Class Reference

#include <raw-machine-assembler.h>

+ Collaboration diagram for v8::internal::compiler::RawMachineAssembler::Label:

Public Member Functions

 Label ()
 
 ~Label ()
 
BasicBlock * block ()
 

Private Member Functions

 Label (BasicBlock *block)
 
 DISALLOW_COPY_AND_ASSIGN (Label)
 

Private Attributes

BasicBlock * block_
 
bool used_
 
bool bound_
 

Friends

class RawMachineAssembler
 

Detailed Description

Definition at line 28 of file raw-machine-assembler.h.

Constructor & Destructor Documentation

◆ Label() [1/2]

v8::internal::compiler::RawMachineAssembler::Label::Label ( )
inline

Definition at line 30 of file raw-machine-assembler.h.

30 : block_(NULL), used_(false), bound_(false) {}
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

◆ ~Label()

v8::internal::compiler::RawMachineAssembler::Label::~Label ( )
inline

Definition at line 31 of file raw-machine-assembler.h.

31 { DCHECK(bound_ || !used_); }
#define DCHECK(condition)
Definition: logging.h:205

References bound_, DCHECK, and used_.

◆ Label() [2/2]

v8::internal::compiler::RawMachineAssembler::Label::Label ( BasicBlock *  block)
inlineexplicitprivate

Definition at line 37 of file raw-machine-assembler.h.

Member Function Documentation

◆ block()

BasicBlock* v8::internal::compiler::RawMachineAssembler::Label::block ( )
inline

Definition at line 33 of file raw-machine-assembler.h.

33 { return block_; }

References block_.

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::compiler::RawMachineAssembler::Label::DISALLOW_COPY_AND_ASSIGN ( Label  )
private

Friends And Related Function Documentation

◆ RawMachineAssembler

friend class RawMachineAssembler
friend

Definition at line 43 of file raw-machine-assembler.h.

Member Data Documentation

◆ block_

BasicBlock* v8::internal::compiler::RawMachineAssembler::Label::block_
private

◆ bound_

bool v8::internal::compiler::RawMachineAssembler::Label::bound_
private

◆ used_

bool v8::internal::compiler::RawMachineAssembler::Label::used_
private

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