Chromium Code Reviews| Index: src/liveedit.cc |
| diff --git a/src/liveedit.cc b/src/liveedit.cc |
| index 447c0d42707ff2a27c9da5c527b90b5c698b23a8..c1ff75a3e2578597c850bd638109195262d057c1 100644 |
| --- a/src/liveedit.cc |
| +++ b/src/liveedit.cc |
| @@ -1188,13 +1188,6 @@ void LiveEdit::ReplaceFunctionCode( |
| } |
| } |
| - if (shared_info->debug_info()->IsDebugInfo()) { |
|
ulan
2015/07/14 09:12:45
DCHECK(shared_info->debug_info()->IsDebugInfo()) ?
Yang
2015/07/14 12:00:57
Since we don't keep a copy of the original code an
|
| - Handle<DebugInfo> debug_info(DebugInfo::cast(shared_info->debug_info())); |
| - Handle<Code> new_original_code = |
| - isolate->factory()->CopyCode(compile_info_wrapper.GetFunctionCode()); |
| - debug_info->set_original_code(*new_original_code); |
| - } |
| - |
| int start_position = compile_info_wrapper.GetStartPosition(); |
| int end_position = compile_info_wrapper.GetEndPosition(); |
| shared_info->set_start_position(start_position); |