V8 Project
v8::internal::ProfileEntryHookStub Class Reference

#include <code-stubs.h>

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

Public Member Functions

 ProfileEntryHookStub (Isolate *isolate)
 
virtual bool SometimesSetsUpAFrame ()
 
- Public Member Functions inherited from v8::internal::PlatformCodeStub
virtual Handle< CodeGenerateCode () OVERRIDE
 
virtual Code::Kind GetCodeKind () const
 

Static Public Member Functions

static void MaybeCallEntryHook (MacroAssembler *masm)
 

Private Member Functions

 DEFINE_PLATFORM_CODE_STUB (ProfileEntryHook, PlatformCodeStub)
 

Static Private Member Functions

static void EntryHookTrampoline (intptr_t function, intptr_t stack_pointer, Isolate *isolate)
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::PlatformCodeStub
 PlatformCodeStub (Isolate *isolate)
 
virtual void Generate (MacroAssembler *masm)=0
 
 DEFINE_CODE_STUB_BASE (PlatformCodeStub, CodeStub)
 

Detailed Description

Definition at line 2371 of file code-stubs.h.

Constructor & Destructor Documentation

◆ ProfileEntryHookStub()

v8::internal::ProfileEntryHookStub::ProfileEntryHookStub ( Isolate isolate)
inlineexplicit

Definition at line 2373 of file code-stubs.h.

2373 : PlatformCodeStub(isolate) {}
PlatformCodeStub(Isolate *isolate)
Definition: code-stubs.h:341

Member Function Documentation

◆ DEFINE_PLATFORM_CODE_STUB()

v8::internal::ProfileEntryHookStub::DEFINE_PLATFORM_CODE_STUB ( ProfileEntryHook  ,
PlatformCodeStub   
)
private

◆ EntryHookTrampoline()

void v8::internal::ProfileEntryHookStub::EntryHookTrampoline ( intptr_t  function,
intptr_t  stack_pointer,
Isolate isolate 
)
staticprivate

Definition at line 925 of file code-stubs.cc.

927  {
928  FunctionEntryHook entry_hook = isolate->function_entry_hook();
929  DCHECK(entry_hook != NULL);
930  entry_hook(function, stack_pointer);
931 }
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
#define DCHECK(condition)
Definition: logging.h:205
void(* FunctionEntryHook)(uintptr_t function, uintptr_t return_addr_location)
FunctionEntryHook is the type of the profile entry hook called at entry to any generated function whe...
Definition: v8.h:4263

References DCHECK, v8::internal::Isolate::function_entry_hook(), and NULL.

+ Here is the call graph for this function:

◆ MaybeCallEntryHook()

static void v8::internal::ProfileEntryHookStub::MaybeCallEntryHook ( MacroAssembler masm)
static

Referenced by v8::internal::LCodeGen::GeneratePrologue().

+ Here is the caller graph for this function:

◆ SometimesSetsUpAFrame()

virtual bool v8::internal::ProfileEntryHookStub::SometimesSetsUpAFrame ( )
inlinevirtual

Definition at line 2376 of file code-stubs.h.

2376 { return false; }

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