[Haiku-commits] r31173 - haiku/trunk/src/apps/debugger/model

bonefish at BerliOS bonefish at mail.berlios.de
Mon Jun 22 03:09:26 CEST 2009


Author: bonefish
Date: 2009-06-22 03:09:26 +0200 (Mon, 22 Jun 2009)
New Revision: 31173
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31173&view=rev

Modified:
   haiku/trunk/src/apps/debugger/model/Statement.h
Log:
Added ContiguousStatement::AddressRange() for cheaper address range access.


Modified: haiku/trunk/src/apps/debugger/model/Statement.h
===================================================================
--- haiku/trunk/src/apps/debugger/model/Statement.h	2009-06-22 01:08:44 UTC (rev 31172)
+++ haiku/trunk/src/apps/debugger/model/Statement.h	2009-06-22 01:09:26 UTC (rev 31173)
@@ -49,6 +49,9 @@
 									const SourceLocation& end,
 									const TargetAddressRange& range);
 
+			const TargetAddressRange& AddressRange() const
+										{ return fRange; }
+
 	virtual	TargetAddressRange	CoveringAddressRange() const;
 
 	virtual	int32				CountAddressRanges() const;




More information about the Haiku-commits mailing list