Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 7c20cae3d325d3e57d4bb0243fcd842d0a51f9ab..fcdacfeaca312c262e49b9d6e5e1527eeab8662b 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -4364,6 +4364,8 @@ class Code : public Object { |
StorePointer(&raw_ptr()->code_source_map_, code_source_map.raw()); |
} |
+ TokenPosition GetTokenPositionAt(intptr_t offset) const; |
+ |
// Array of DeoptInfo objects. |
RawArray* deopt_info_array() const { |
return raw_ptr()->deopt_info_array_; |
@@ -4462,8 +4464,12 @@ class Code : public Object { |
RawArray* GetInlinedCallerIdMap() const; |
void SetInlinedCallerIdMap(const Array& value) const; |
+ // If |token_positions| is not NULL it will be populated with the token |
+ // positions of the inlined calls. |
void GetInlinedFunctionsAt( |
- intptr_t offset, GrowableArray<Function*>* fs) const; |
+ intptr_t offset, |
+ GrowableArray<Function*>* fs, |
+ GrowableArray<TokenPosition>* token_positions = NULL) const; |
void DumpInlinedIntervals() const; |