Update FullInliner.cpp

This commit is contained in:
Leonid Pospelov 2022-08-14 03:14:15 +03:00 committed by GitHub
parent a78a2bcf34
commit 32aa000378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ bool FullInliner::shallInline(FunctionCall const& _funCall, YulString _callSite)
break;
}
return (size < (aggressiveInlining ? 8 : 6) || (constantArg && size < (aggressiveInlining ? 16 : 12)));
return (size < (aggressiveInlining ? 8u : 6u) || (constantArg && size < (aggressiveInlining ? 16u : 12u)));
}
void FullInliner::tentativelyUpdateCodeSize(YulString _function, YulString _callSite)