diff options
Diffstat (limited to 'src/3rdparty/v8/src/liveedit.h')
-rw-r--r-- | src/3rdparty/v8/src/liveedit.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/3rdparty/v8/src/liveedit.h b/src/3rdparty/v8/src/liveedit.h index 4ee4466..5b12854 100644 --- a/src/3rdparty/v8/src/liveedit.h +++ b/src/3rdparty/v8/src/liveedit.h @@ -1,4 +1,4 @@ -// Copyright 2010 the V8 project authors. All rights reserved. +// Copyright 2012 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: @@ -69,7 +69,7 @@ class LiveEditFunctionTracker { explicit LiveEditFunctionTracker(Isolate* isolate, FunctionLiteral* fun); ~LiveEditFunctionTracker(); void RecordFunctionInfo(Handle<SharedFunctionInfo> info, - FunctionLiteral* lit); + FunctionLiteral* lit, Zone* zone); void RecordRootFunctionInfo(Handle<Code> code); static bool IsActive(Isolate* isolate); @@ -121,7 +121,11 @@ class LiveEdit : AllStatic { // has restart the lowest found frames and drops all other frames above // if possible and if do_drop is true. static Handle<JSArray> CheckAndDropActivations( - Handle<JSArray> shared_info_array, bool do_drop); + Handle<JSArray> shared_info_array, bool do_drop, Zone* zone); + + // Restarts the call frame and completely drops all frames above it. + // Return error message or NULL. + static const char* RestartFrame(JavaScriptFrame* frame, Zone* zone); // A copy of this is in liveedit-debugger.js. enum FunctionPatchabilityStatus { |