V8 Project
v8::internal::DynamicScopePart Class Reference

#include <scopes.h>

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

Public Member Functions

 DynamicScopePart (Zone *zone)
 
VariableMapGetMap (VariableMode mode)
 
- 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

VariableMapmaps_ [3]
 

Detailed Description

Definition at line 43 of file scopes.h.

Constructor & Destructor Documentation

◆ DynamicScopePart()

v8::internal::DynamicScopePart::DynamicScopePart ( Zone zone)
inlineexplicit

Definition at line 45 of file scopes.h.

45  {
46  for (int i = 0; i < 3; i++)
47  maps_[i] = new(zone->New(sizeof(VariableMap))) VariableMap(zone);
48  }
VariableMap * maps_[3]
Definition: scopes.h:57

References maps_, and v8::internal::Zone::New().

+ Here is the call graph for this function:

Member Function Documentation

◆ GetMap()

VariableMap* v8::internal::DynamicScopePart::GetMap ( VariableMode  mode)
inline

Definition at line 50 of file scopes.h.

50  {
51  int index = mode - DYNAMIC;
52  DCHECK(index >= 0 && index < 3);
53  return maps_[index];
54  }
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 mode(MIPS only)") DEFINE_BOOL(enable_always_align_csp
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, v8::internal::DYNAMIC, maps_, and mode().

Referenced by v8::internal::Scope::NonLocal().

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

Member Data Documentation

◆ maps_

VariableMap* v8::internal::DynamicScopePart::maps_[3]
private

Definition at line 57 of file scopes.h.

Referenced by DynamicScopePart(), and GetMap().


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