V8 Project
v8::internal::LiveEditFunctionTracker Class Reference

#include <liveedit.h>

+ Collaboration diagram for v8::internal::LiveEditFunctionTracker:

Public Member Functions

 LiveEditFunctionTracker (Isolate *isolate, FunctionLiteral *fun)
 
 ~LiveEditFunctionTracker ()
 
void RecordFunctionInfo (Handle< SharedFunctionInfo > info, FunctionLiteral *lit, Zone *zone)
 
void RecordRootFunctionInfo (Handle< Code > code)
 

Static Public Member Functions

static bool IsActive (Isolate *isolate)
 

Private Attributes

Isolateisolate_
 

Detailed Description

Definition at line 44 of file liveedit.h.

Constructor & Destructor Documentation

◆ LiveEditFunctionTracker()

v8::internal::LiveEditFunctionTracker::LiveEditFunctionTracker ( Isolate isolate,
FunctionLiteral *  fun 
)
explicit

Definition at line 2052 of file liveedit.cc.

2054  : isolate_(isolate) {
2055  if (isolate_->active_function_info_listener() != NULL) {
2056  isolate_->active_function_info_listener()->FunctionStarted(fun);
2057  }
2058 }
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 isolate_, and NULL.

◆ ~LiveEditFunctionTracker()

v8::internal::LiveEditFunctionTracker::~LiveEditFunctionTracker ( )

Definition at line 2061 of file liveedit.cc.

2061  {
2062  if (isolate_->active_function_info_listener() != NULL) {
2063  isolate_->active_function_info_listener()->FunctionDone();
2064  }
2065 }

References isolate_, and NULL.

Member Function Documentation

◆ IsActive()

bool v8::internal::LiveEditFunctionTracker::IsActive ( Isolate isolate)
static

Definition at line 2083 of file liveedit.cc.

2083  {
2084  return isolate->active_function_info_listener() != NULL;
2085 }

References NULL.

Referenced by v8::internal::Compiler::DebuggerWantsEagerCompilation().

+ Here is the caller graph for this function:

◆ RecordFunctionInfo()

void v8::internal::LiveEditFunctionTracker::RecordFunctionInfo ( Handle< SharedFunctionInfo info,
FunctionLiteral *  lit,
Zone zone 
)

Definition at line 2068 of file liveedit.cc.

2070  {
2071  if (isolate_->active_function_info_listener() != NULL) {
2072  isolate_->active_function_info_listener()->FunctionInfo(info, lit->scope(),
2073  zone);
2074  }
2075 }

References isolate_, and NULL.

Referenced by v8::internal::Compiler::BuildFunctionInfo(), and v8::internal::CompileToplevel().

+ Here is the caller graph for this function:

◆ RecordRootFunctionInfo()

void v8::internal::LiveEditFunctionTracker::RecordRootFunctionInfo ( Handle< Code code)

Definition at line 2078 of file liveedit.cc.

2078  {
2079  isolate_->active_function_info_listener()->FunctionCode(code);
2080 }

References isolate_.

Referenced by v8::internal::Compiler::CompileForLiveEdit().

+ Here is the caller graph for this function:

Member Data Documentation

◆ isolate_

Isolate* v8::internal::LiveEditFunctionTracker::isolate_
private

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