Index: runtime/vm/profiler_test.cc |
diff --git a/runtime/vm/profiler_test.cc b/runtime/vm/profiler_test.cc |
index 647f87f9a3d65ddcf38c804231706398f06177a5..bcb32618de560cff134e79cb5a41aa302f976a97 100644 |
--- a/runtime/vm/profiler_test.cc |
+++ b/runtime/vm/profiler_test.cc |
@@ -2453,7 +2453,8 @@ static uword FindPCForTokenPosition(const Code& code, |
GrowableArray<const Function*> functions; |
GrowableArray<TokenPosition> token_positions; |
for (intptr_t pc_offset = 0; pc_offset < code.Size(); pc_offset++) { |
- code.GetInlinedFunctionsAt(pc_offset, &functions, &token_positions); |
+ code.GetInlinedFunctionsAtInstruction(pc_offset, &functions, |
+ &token_positions); |
if (token_positions[0] == tp) { |
return code.PayloadStart() + pc_offset; |
} |