Re: [Sdcc-user] 8051, static inline functions

2014-10-08 Thread Maarten Brock
> Hi, > > I have been using the SDCC compiler fora n 8051, and my goal is to > optimize code size. > I have noticed that when declaring a function as static inline, the > function does get inlined in the resulting assembler code, > but also the definition of that function is in there, so as a calla

Re: [Sdcc-user] 8051, static inline functions

2014-10-08 Thread Philipp Klaus Krause
On 08.10.2014 15:58, Jonas De Craene wrote: > Hi, > > > > I have been using the SDCC compiler fora n 8051, and my goal is to > optimize code size. > > I have noticed that when declaring a function as static inline, the > function does get inlined in the resulting assembler code, > > but also

[Sdcc-user] 8051, static inline functions

2014-10-08 Thread Jonas De Craene
Hi, I have been using the SDCC compiler fora n 8051, and my goal is to optimize code size. I have noticed that when declaring a function as static inline, the function does get inlined in the resulting assembler code, but also the definition of that function is in there, so as a callable functi