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

Unified Diff: src/debug/liveedit.cc

Issue 1291043002: Debugger: remove duplicate heap iterations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@debuggerglobal
Patch Set: slight change Created 5 years, 4 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/liveedit.h ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/liveedit.cc
diff --git a/src/debug/liveedit.cc b/src/debug/liveedit.cc
index 17ac712649f0983d1b7e02aa78a6c01db7d0ac81..8312dd3b6d623a5fbc64330fd304efae7f71445e 100644
--- a/src/debug/liveedit.cc
+++ b/src/debug/liveedit.cc
@@ -900,23 +900,6 @@ MaybeHandle<JSArray> LiveEdit::GatherCompileInfo(Handle<Script> script,
}
-void LiveEdit::WrapSharedFunctionInfos(Handle<JSArray> array) {
- Isolate* isolate = array->GetIsolate();
- HandleScope scope(isolate);
- int len = GetArrayLength(array);
- for (int i = 0; i < len; i++) {
- Handle<SharedFunctionInfo> info(
- SharedFunctionInfo::cast(
- *Object::GetElement(isolate, array, i).ToHandleChecked()));
- SharedInfoWrapper info_wrapper = SharedInfoWrapper::Create(isolate);
- Handle<String> name_handle(String::cast(info->name()));
- info_wrapper.SetProperties(name_handle, info->start_position(),
- info->end_position(), info);
- SetElementSloppy(array, i, info_wrapper.GetJSArray());
- }
-}
-
-
// Visitor that finds all references to a particular code object,
// including "CODE_TARGET" references in other code objects and replaces
// them on the fly.
« no previous file with comments | « src/debug/liveedit.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698