From 21821017e772e79ef2b3844e6fa4fd7776d3bc79 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 22 Jun 2009 01:09:26 +0000 Subject: [PATCH] Added ContiguousStatement::AddressRange() for cheaper address range access. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31173 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/model/Statement.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/debugger/model/Statement.h b/src/apps/debugger/model/Statement.h index 2ae4476c75..760acf284f 100644 --- a/src/apps/debugger/model/Statement.h +++ b/src/apps/debugger/model/Statement.h @@ -49,6 +49,9 @@ public: const SourceLocation& end, const TargetAddressRange& range); + const TargetAddressRange& AddressRange() const + { return fRange; } + virtual TargetAddressRange CoveringAddressRange() const; virtual int32 CountAddressRanges() const;