aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/liveedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/liveedit.h')
-rw-r--r--deps/v8/src/liveedit.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/liveedit.h b/deps/v8/src/liveedit.h
index 424c24e351..5b12854d8c 100644
--- a/deps/v8/src/liveedit.h
+++ b/deps/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:
@@ -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,