Index: src/liveedit.h |
diff --git a/src/liveedit.h b/src/liveedit.h |
index 424c24e3510831dd18df39fe42946424fcfe9233..5b12854d8ccb9e9974edcd1741ec493c1a7de077 100644 |
--- a/src/liveedit.h |
+++ b/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: |
@@ -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, |