Re: QC Report on Swap Function
- From: "Rudy Velthuis [TeamB]" <velthuis@xxxxxxxxx>
- Date: Wed, 31 Aug 2005 15:10:29 +0200
At 13:59:21, 31.08.2005, Will DeWitt Jr. wrote:
> Rudy Velthuis [TeamB] wrote in
> <xn0e6kzzw1ondsv01v-velthuis@xxxxxxxxxxxxx>:
>
> > Not sure how easy it is to deprecate a magic function.
>
> If it were possible to inline BASM functions then they could simply put
> Swap into the System unit (no longer a compiler magic func) and mark
> that as deprecated.
The idea of inline functions is that code is not just copied verbatim, it
becomes part of the routine in which it is used, i.e. optimisations etc.
can change register use, code order, code sequences, etc. according to
the code surrounding the invocation. This is impossible with assembler
(which has fixed code, with fixed register use), so I guess that is why
they are not allowed by the compiler.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de
"They show you how detergents take out bloodstains. I think if
you've got a T-shirt with bloodstains all over it, maybe your
laundry isn't your biggest problem." -- George Carlin
.
- Follow-Ups:
- Re: QC Report on Swap Function
- From: Dennis
- Re: QC Report on Swap Function
- References:
- QC Report on Swap Function
- From: Dennis
- Re: QC Report on Swap Function
- From: Dennis
- Re: QC Report on Swap Function
- From: Rudy Velthuis [TeamB]
- Re: QC Report on Swap Function
- From: Kristofer Skaug
- Re: QC Report on Swap Function
- From: Rudy Velthuis [TeamB]
- Re: QC Report on Swap Function
- From: Will DeWitt Jr.
- QC Report on Swap Function
- Prev by Date: Re: FastCode - IntToStr B&V v0.12
- Next by Date: Re: FastCode - IntToStr B&V v0.12
- Previous by thread: Re: QC Report on Swap Function
- Next by thread: Re: QC Report on Swap Function
- Index(es):