]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Guess the number of arguments to a function somewhat better.
authorYaroslav Tykhiy <ytykhiy@gmail.com>
Fri, 16 Jun 2006 11:14:54 +0000 (11:14 +0000)
committerYaroslav Tykhiy <ytykhiy@gmail.com>
Fri, 16 Jun 2006 11:14:54 +0000 (11:14 +0000)
commit70b906ae82973b6a43a1a086cb1c9cea58e2abb7
tree4255f927fbe812477a7443edaf01fec01543b9fd
parenta6831e7e3a5f8027fde6d886cbeaf2b17795d8bd
Guess the number of arguments to a function somewhat better.
Now GCC likes to stick a "mov %eax, %FOO" instruction before
"addl $BAR, %esp" if the function just called returns an int,
which is a very common case in the kernel.

Sponsored by: RiNet (Cronyx Plus LLC)
sys/i386/i386/db_trace.c