This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
"func not implemented" croaks optimizations in /win32/*
authorDaniel Dragan <bulk88@hotmail.com>
Sun, 28 Oct 2012 02:25:47 +0000 (22:25 -0400)
committerJan Dubois <jand@activestate.com>
Fri, 9 Nov 2012 00:54:55 +0000 (16:54 -0800)
commit073dd0357a846739ff3ae9a14379de2302d5e877
treee98d00b9a5881f5381d9815828990a60737fe091
parente566981e5a5b2c2716eea4363106c4ed7620e5bb
"func not implemented" croaks optimizations in /win32/*

This commit removes a number of "* not implemented" strings from the image.
A win32_croak_not_implemented wrapper is created to reduce machine code
by not putting the format string on the C stack many times. embed.fnc was
used to declare win32_croak_not_implemented for proper cross compiler
support of noreturn (noreturn on GCC and VC ok). Tailcalling and noreturn
optimizations of the C compiler are heavily used in this commit.
embed.fnc
proto.h
win32/perlhost.h
win32/win32.c
win32/win32sck.c