| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import re | 5 import re |
| 6 | 6 |
| 7 from crash.stacktrace import CallStack | 7 from crash.stacktrace import CallStack |
| 8 from crash.type_enums import LanguageType | 8 from crash.type_enums import LanguageType |
| 9 | 9 |
| 10 _INLINE_FUNCTION_FILE_PATH_MARKERS = [ | 10 _INLINE_FUNCTION_FILE_PATH_MARKERS = [ |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 break | 200 break |
| 201 | 201 |
| 202 if V8_DEP_PATH_MARKER in frame.dep_path: | 202 if V8_DEP_PATH_MARKER in frame.dep_path: |
| 203 break | 203 break |
| 204 | 204 |
| 205 if not need_filter_v8: | 205 if not need_filter_v8: |
| 206 return stack_buffer | 206 return stack_buffer |
| 207 | 207 |
| 208 stack_buffer.frames = filter( | 208 stack_buffer.frames = filter( |
| 209 lambda f: V8_DEP_PATH_MARKER not in f.dep_path, stack_buffer.frames) | 209 lambda f: V8_DEP_PATH_MARKER not in f.dep_path, stack_buffer.frames) |
| 210 | |
| 211 return stack_buffer | 210 return stack_buffer |
| OLD | NEW |