Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Unified Diff: src/liveedit.h

Issue 10544151: Support 'restart call frame' debug command (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: grammar Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/liveedit.h
diff --git a/src/liveedit.h b/src/liveedit.h
index 424c24e3510831dd18df39fe42946424fcfe9233..c08508698cfe28d7cfd3e3093f6ed23d4c640c7e 100644
--- a/src/liveedit.h
+++ b/src/liveedit.h
@@ -123,6 +123,10 @@ class LiveEdit : AllStatic {
static Handle<JSArray> CheckAndDropActivations(
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 {
FUNCTION_AVAILABLE_FOR_PATCH = 1,
« no previous file with comments | « src/debug-debugger.js ('k') | src/liveedit.cc » ('j') | src/liveedit-debugger.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698