
17 Sep
2007
17 Sep
'07
6:57 p.m.
John Maddock wrote:
Larry Evans wrote:
On 09/16/07 16:56, Achilleas Margaritis wrote:
Dear boost developers,
You can find a new version of my portable precise C++ garbage collector in vault/memory.
The file:
src/cppgc.cpp
contains:
void __fastcall _gc_traits::scan(register void *ptr) {
Don't use __fastcall because it's faster - it's probably not! It dictates the compiler how to arrange the registers, which can result in less efficient code (spilling on the stack for reordering).
is __fastcall portable?
No it's an MSVC'ism.
Interesting... Are you sure (as it's most prominently used by Delphi)? Regards, Tobias