| Index: src/debug/liveedit.cc
|
| diff --git a/src/debug/liveedit.cc b/src/debug/liveedit.cc
|
| index 69710817ee673fb56153e78109025e35fe289595..2a6eb517b8718dc6396eea282cfbaea0c26f8dde 100644
|
| --- a/src/debug/liveedit.cc
|
| +++ b/src/debug/liveedit.cc
|
| @@ -716,16 +716,6 @@ class FunctionInfoListener {
|
| current_parent_index_ = info.GetParentIndex();
|
| }
|
|
|
| - // Saves only function code, because for a script function we
|
| - // may never create a SharedFunctionInfo object.
|
| - void FunctionCode(Handle<Code> function_code) {
|
| - FunctionInfoWrapper info = FunctionInfoWrapper::cast(
|
| - *JSReceiver::GetElement(isolate(), result_, current_parent_index_)
|
| - .ToHandleChecked());
|
| - info.SetFunctionCode(function_code,
|
| - Handle<HeapObject>(isolate()->heap()->null_value()));
|
| - }
|
| -
|
| // Saves full information about a function: its code, its scope info
|
| // and a SharedFunctionInfo object.
|
| void FunctionInfo(Handle<SharedFunctionInfo> shared, Scope* scope,
|
| @@ -2030,11 +2020,6 @@ void LiveEditFunctionTracker::RecordFunctionInfo(
|
| }
|
|
|
|
|
| -void LiveEditFunctionTracker::RecordRootFunctionInfo(Handle<Code> code) {
|
| - isolate_->active_function_info_listener()->FunctionCode(code);
|
| -}
|
| -
|
| -
|
| bool LiveEditFunctionTracker::IsActive(Isolate* isolate) {
|
| return isolate->active_function_info_listener() != NULL;
|
| }
|
|
|