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

Issue 124573002: Upgrade Number constructor to ES6. (Closed)

Created:
6 years, 11 months ago by sof
Modified:
6 years, 11 months ago
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@bleeding_edge
Visibility:
Public.

Description

Upgrade Number constructor to ES6. Add missing constants, predicates and functions to the Number constructor to have it offer what ES6 now specifies. That is, extend it with: * isInteger(), isSafeInteger() * parseInt(), parseFloat() * EPSILON, MIN_SAFE_INTEGER, MAX_SAFE_INTEGER LOG=N R= BUG=v8:3082 Committed: https://code.google.com/p/v8/source/detail?r=18480

Patch Set 1 #

Total comments: 8

Patch Set 2 : Various code improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -28 lines) Patch
M src/v8natives.js View 1 4 chunks +57 lines, -27 lines 0 comments Download
M test/mjsunit/math-floor-part1.js View 1 chunk +4 lines, -0 lines 0 comments Download
M test/mjsunit/math-round.js View 1 chunk +9 lines, -0 lines 0 comments Download
M test/mjsunit/number-is.js View 3 chunks +69 lines, -1 line 0 comments Download
M test/mjsunit/parse-int-float.js View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sof
At your leisure, please take a look.
6 years, 11 months ago (2014-01-04 16:46:53 UTC) #1
Michael Starzinger
Technically this is looking good. I just have a few comments. But unfortunately I am ...
6 years, 11 months ago (2014-01-07 16:08:00 UTC) #2
rossberg
On 2014/01/07 16:08:00, Michael Starzinger wrote: > Technically this is looking good. I just have ...
6 years, 11 months ago (2014-01-07 17:20:34 UTC) #3
Michael Starzinger
On 2014/01/07 17:20:34, rossberg wrote: > On 2014/01/07 16:08:00, Michael Starzinger wrote: > > Technically ...
6 years, 11 months ago (2014-01-07 17:35:25 UTC) #4
sof
https://codereview.chromium.org/124573002/diff/1/src/v8natives.js File src/v8natives.js (right): https://codereview.chromium.org/124573002/diff/1/src/v8natives.js#newcode85 src/v8natives.js:85: %OptimizeObjectForAddingMultipleProperties(object, constants.length); On 2014/01/07 16:08:00, Michael Starzinger wrote: > ...
6 years, 11 months ago (2014-01-07 21:36:29 UTC) #5
sof
On 2014/01/07 17:35:25, Michael Starzinger wrote: > On 2014/01/07 17:20:34, rossberg wrote: > > On ...
6 years, 11 months ago (2014-01-07 21:44:55 UTC) #6
Michael Starzinger
6 years, 11 months ago (2014-01-08 08:48:35 UTC) #7
LGTM. I will land this.

Powered by Google App Engine
This is Rietveld 408576698