Am 19.12.2018 um 14:22 schrieb Sven Barth via fpc-pascal: > Maybe we could add your changes to trunk? Ah, I may have made that sound better than it was ;-) I didn't actually solve the problem. Can't seem to find my branch anyway (I may have amended that when the focus changed to the pure modifier), but IIRC it was just a matter of changing the inline info check to allow assembler blocks when they have a register list and the correct procoptions are set, because notstackframe already implies the body is a single asm block and that there is no interfering prolog/epilog. Parameters are difficult because they either need something like extra temps *in memory* (like cdecl) or some extra registers need to be pushed/popped, which brings us back to the register allocator issue.
-- Regards, Martok _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal