| Index: src/debug.h
|
| diff --git a/src/debug.h b/src/debug.h
|
| index 9e1098646006966465e1970f6e6b90581c63c3af..c295df2654bcf1b30c878d8a900386ba7becd430 100644
|
| --- a/src/debug.h
|
| +++ b/src/debug.h
|
| @@ -159,9 +159,6 @@ class ScriptCache : private HashMap {
|
| // Return the scripts in the cache.
|
| Handle<FixedArray> GetScripts();
|
|
|
| - // Generate debugger events for collected scripts.
|
| - void ProcessCollectedScripts();
|
| -
|
| private:
|
| // Calculate the hash value from the key (script id).
|
| static uint32_t Hash(int key) {
|
| @@ -176,8 +173,6 @@ class ScriptCache : private HashMap {
|
| const v8::WeakCallbackData<v8::Value, void>& data);
|
|
|
| Isolate* isolate_;
|
| - // List used during GC to temporarily store id's of collected scripts.
|
| - List<int> collected_scripts_;
|
| };
|
|
|
|
|
| @@ -370,7 +365,6 @@ class Debug {
|
| void OnCompileError(Handle<Script> script);
|
| void OnBeforeCompile(Handle<Script> script);
|
| void OnAfterCompile(Handle<Script> script);
|
| - void OnScriptCollected(int id);
|
|
|
| // API facing.
|
| void SetEventListener(Handle<Object> callback, Handle<Object> data);
|
| @@ -477,9 +471,6 @@ class Debug {
|
| // Record function from which eval was called.
|
| static void RecordEvalCaller(Handle<Script> script);
|
|
|
| - // Garbage collection notifications.
|
| - void AfterGarbageCollection();
|
| -
|
| // Flags and states.
|
| DebugScope* debugger_entry() { return thread_local_.current_debug_scope_; }
|
| inline Handle<Context> debug_context() { return debug_context_; }
|
| @@ -544,7 +535,6 @@ class Debug {
|
| Handle<Object> promise);
|
| MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent(
|
| Handle<Script> script, v8::DebugEvent type);
|
| - MUST_USE_RESULT MaybeHandle<Object> MakeScriptCollectedEvent(int id);
|
|
|
| // Mirror cache handling.
|
| void ClearMirrorCache();
|
|
|