| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index af0e574e21cbf560f4b48f8343277a3d52540d64..969ddaf8a18ce42aaf5a17760004dcf170ae44bb 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -385,7 +385,7 @@ static SaveContext* FindSavedContextForFrame(Isolate* isolate,
|
|
|
| // Advances the iterator to the frame that matches the index and returns the
|
| // inlined frame index, or -1 if not found. Skips native JS functions.
|
| -int FindIndexedNonNativeFrame(JavaScriptFrameIterator* it, int index) {
|
| +int Runtime::FindIndexedNonNativeFrame(JavaScriptFrameIterator* it, int index) {
|
| int count = -1;
|
| for (; !it->done(); it->Advance()) {
|
| List<FrameSummary> frames(FLAG_max_inlining_levels + 1);
|
| @@ -435,7 +435,7 @@ RUNTIME_FUNCTION(Runtime_GetFrameDetails) {
|
|
|
| JavaScriptFrameIterator it(isolate, id);
|
| // Inlined frame index in optimized frame, starting from outer function.
|
| - int inlined_jsframe_index = FindIndexedNonNativeFrame(&it, index);
|
| + int inlined_jsframe_index = Runtime::FindIndexedNonNativeFrame(&it, index);
|
| if (inlined_jsframe_index == -1) return heap->undefined_value();
|
|
|
| FrameInspector frame_inspector(it.frame(), inlined_jsframe_index, isolate);
|
|
|