fixed / removed out-of-date comments, tidied check_and_promote_args() interface

This commit is contained in:
Vern Paxson 2021-05-30 17:25:40 -07:00
parent efd03d41f8
commit a16a25efbd
4 changed files with 15 additions and 21 deletions

View file

@ -231,8 +231,6 @@ ValPtr Val::SizeVal() const
{
switch ( type->InternalType() ) {
case TYPE_INTERNAL_INT:
// Return abs value. However abs() only works on ints and llabs
// doesn't work on Mac OS X 10.5. So we do it by hand
if ( AsInt() < 0 )
return val_mgr->Count(-AsInt());
else