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

Unified Diff: src/liveedit.h

Issue 546125: A brutal approach to V8 script liveedit (Closed)
Patch Set: merge Created 10 years, 10 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
« no previous file with comments | « src/debug-delay.js ('k') | src/liveedit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/liveedit.h
diff --git a/src/liveedit.h b/src/liveedit.h
index 96dea90d53245a4d34f1586161feef4a9c2a91c7..ff7c7d235806937187dd00553a9b4f13c0ebcebf 100644
--- a/src/liveedit.h
+++ b/src/liveedit.h
@@ -51,9 +51,21 @@
#include "compiler.h"
+#ifdef ENABLE_DEBUGGER_SUPPORT
+
namespace v8 {
namespace internal {
+void ChangeScriptLive(Handle<Script> original_script,
+ Handle<String> original_source,
+ Handle<String> new_source,
+ Handle<FixedArray> function_shared_info,
+ int function_shared_info_len,
+ int pos, int len_old, int len_new);
+
+
+class FunctionInfoListener;
+
// This class collects some specific information on structure of functions
// in a particular script. It gets called from compiler all the time, but
// actually records any data only when liveedit operation is in process;
@@ -75,4 +87,6 @@ class LiveEditFunctionTracker {
} } // namespace v8::internal
+#endif // ENABLE_DEBUGGER_SUPPORT
+
#endif /* V*_LIVEEDIT_H_ */
« no previous file with comments | « src/debug-delay.js ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698