Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 81063002: Use %_IsSmi instead of %MaxSmi. (Closed)

Created:
7 years, 1 month ago by Yang
Modified:
7 years, 1 month ago
CC:
v8-dev
Visibility:
Public.

Description

Use %_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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M src/typedarray.js View 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Yang
7 years, 1 month ago (2013-11-21 15:17:05 UTC) #1
Dmitry Lomov (no reviews)
lgtm. Thanks!
7 years, 1 month ago (2013-11-21 15:51:12 UTC) #2
Yang
7 years, 1 month ago (2013-11-21 17:55:09 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r17983 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698