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,
127 enum FunctionPatchabilityStatus {
128 FUNCTION_AVAILABLE_FOR_PATCH = 1,
129 FUNCTION_BLOCKED_ON_ACTIVE_STACK = 2,
130 FUNCTION_BLOCKED_ON_OTHER_STACK = 3,
131 FUNCTION_BLOCKED_UNDER_NATIVE_CODE = 4,
132 FUNCTION_REPLACED_ON_ACTIVE_STACK = 5
150 virtual int GetLength1() = 0;
151 virtual int GetLength2() = 0;
152 virtual bool Equals(
int index1,
int index2) = 0;
163 virtual void AddChunk(
int pos1,
int pos2,
int len1,
int len2) = 0;
170 static void CalculateDifference(Input* input,
171 Output* result_writer);
174 #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()