Re: why is sim_addr_range_hit_p tagged inline?

Mike Frysinger
2014-11-15T07:31:58Z

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

On 14 Nov 2014 15:16, DJ Delorie wrote:
> > Unless HAVE_INLINE is defined.
>
> Ah, ick. I noticed this because I had a report from a Mac user that
> they were getting "multiply defined symbols" for that function.

the sim code base heavily inlines things for the sake of speed. but i'm not
sure what kind of perf difference it makes nowadays on modern systems. would be
worth seeing if we could just drop it all ...
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]