$return in wildcarded void functions
Stone, Joshua I
joshua.i.stone@intel.com
Wed Mar 7 21:24:00 GMT 2007
Frank Ch. Eigler wrote:
> dsmith wrote:
>> Would the entire statement get deleted (if $var didn't exist)?
>
> Could be in the future, as a special case of dead code elimination.
If you start with that elimination as a requirement, then there is no
explicit need for the $!var construct. At that point you could
synthesize the same behavior with ($?var ? $var : 0), and $!var is
perhaps just a convenient shorthand.
Josh
More information about the Systemtap
mailing list