28 #ifndef V8_LIVEEDIT_H_
29 #define V8_LIVEEDIT_H_
78 #ifdef ENABLE_DEBUGGER_SUPPORT
83 #ifdef ENABLE_DEBUGGER_SUPPORT
96 static MaybeObject* FunctionSourceUpdated(
Handle<JSArray> shared_info_array);
114 static void ReplaceRefToNestedFunction(
Handle<JSValue> parent_function_shared,
131 enum FunctionPatchabilityStatus {
132 FUNCTION_AVAILABLE_FOR_PATCH = 1,
133 FUNCTION_BLOCKED_ON_ACTIVE_STACK = 2,
134 FUNCTION_BLOCKED_ON_OTHER_STACK = 3,
135 FUNCTION_BLOCKED_UNDER_NATIVE_CODE = 4,
136 FUNCTION_REPLACED_ON_ACTIVE_STACK = 5
154 virtual int GetLength1() = 0;
155 virtual int GetLength2() = 0;
156 virtual bool Equals(
int index1,
int index2) = 0;
167 virtual void AddChunk(
int pos1,
int pos2,
int len1,
int len2) = 0;
174 static void CalculateDifference(Input* input,
175 Output* result_writer);
178 #endif // ENABLE_DEBUGGER_SUPPORT
void RecordRootFunctionInfo(Handle< Code > code)
static bool IsActive(Isolate *isolate)
LiveEditFunctionTracker(Isolate *isolate, FunctionLiteral *fun)
void RecordFunctionInfo(Handle< SharedFunctionInfo > info, FunctionLiteral *lit, Zone *zone)
~LiveEditFunctionTracker()
activate correct semantics for inheriting readonliness enable harmony semantics for typeof enable harmony enable harmony proxies enable all harmony harmony_scoping harmony_proxies harmony_scoping tracks arrays with only smi values automatically unbox arrays of doubles use crankshaft use hydrogen range analysis use hydrogen global value numbering use function inlining maximum number of AST nodes considered for a single inlining loop invariant code motion print statistics for hydrogen trace generated IR for specified phases trace register allocator trace range analysis trace representation types environment for every instruction put a break point before deoptimizing polymorphic inlining perform array bounds checks elimination use dead code elimination trace on stack replacement optimize closures cache optimized code for closures functions with arguments object loop weight for representation inference allow uint32 values on optimize frames if they are used only in safe operations track parallel recompilation enable all profiler experiments number of stack frames inspected by the profiler call recompile stub directly when self optimizing trigger profiler ticks based on counting instead of timing weight back edges by jump distance for interrupt triggering percentage of ICs that must have type info to allow optimization watch_ic_patching retry_self_opt interrupt_at_exit extra verbose compilation tracing generate extra code(assertions) for debugging") DEFINE_bool(code_comments