Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 0a0c90ed96dc250a8499a3b1bce5c46a3f7baeb1..1680d6ecc6f50f49bb6ed06f56eaef455a52aaf3 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -4040,6 +4040,18 @@ class CodeSourceMap : public Object { |
// Decode SLEB128 encoded integer. Update byte_index to the next integer. |
intptr_t DecodeInteger(intptr_t* byte_index) const; |
+ TokenPosition TokenPositionForPCOffset(uword pc_offset) const; |
+ RawFunction* FunctionForPCOffset(const Code& code, |
+ const Function& function, |
+ uword pc_offset) const; |
+ RawScript* ScriptForPCOffset(const Code& code, |
+ const Function& function, |
+ uword pc_offset) const; |
+ |
+ static void Dump(const CodeSourceMap& code_source_map, |
+ const Code& code, |
+ const Function& function); |
+ |
class Iterator : ValueObject { |
public: |
explicit Iterator(const CodeSourceMap& code_source_map) |