DescriptionUse %_IsSmi instead of %MaxSmi.
ToPositiveInteger already makes sure that if l can be represented as a
smi, it will be represented as a smi. This way we can avoid doing a
runtime call to retrieve a constant.
R=dslomov@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=17983
Patch Set 1 #Patch Set 2 : apparently we still need %MaxSmi in regression tests. #
Messages
Total messages: 3 (0 generated)
|