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

Issue 44173003: Add simple inline macros to js2c and use that for typed array constructors. (Closed)

Created:
7 years, 1 month ago by Dmitry Lomov (no reviews)
Modified:
7 years, 1 month ago
Reviewers:
rossberg, Yang
CC:
v8-dev
Visibility:
Public.

Description

Add simple inline macros to js2c and use that for typed array constructors. R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=17491

Patch Set 1 #

Patch Set 2 : Self-review #

Patch Set 3 : Typo fixed #

Total comments: 5

Patch Set 4 : Unified typed array types iterations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -91 lines) Patch
M src/typedarray.js View 1 2 3 4 chunks +67 lines, -60 lines 0 comments Download
M tools/js2c.py View 3 chunks +67 lines, -31 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Dmitry Lomov (no reviews)
PTAL. Adds simple multi-line macros to js2c and generates different functions for different typed array ...
7 years, 1 month ago (2013-10-25 13:13:43 UTC) #1
rossberg
https://codereview.chromium.org/44173003/diff/60001/src/typedarray.js File src/typedarray.js (right): https://codereview.chromium.org/44173003/diff/60001/src/typedarray.js#newcode285 src/typedarray.js:285: macro SETUP_TYPED_ARRAY(NAME, ELEMENT_SIZE) I'd argue that using a macro ...
7 years, 1 month ago (2013-10-28 10:40:54 UTC) #2
Dmitry Lomov (no reviews)
Replied to your comments https://codereview.chromium.org/44173003/diff/60001/tools/js2c.py File tools/js2c.py (right): https://codereview.chromium.org/44173003/diff/60001/tools/js2c.py#newcode224 tools/js2c.py:224: while True: On 2013/10/28 10:40:55, ...
7 years, 1 month ago (2013-11-02 12:56:15 UTC) #3
Dmitry Lomov (no reviews)
Changing reviewer to Yang since Andreas is on vactaion (Andreas, I am not trying to ...
7 years, 1 month ago (2013-11-04 09:25:18 UTC) #4
Dmitry Lomov (no reviews)
Made macros in typedarray.js a bit cleverer
7 years, 1 month ago (2013-11-04 10:19:09 UTC) #5
Yang
On 2013/11/04 10:19:09, Dmitry Lomov (chromium) wrote: > Made macros in typedarray.js a bit cleverer ...
7 years, 1 month ago (2013-11-05 12:41:35 UTC) #6
Dmitry Lomov (no reviews)
On 2013/11/05 12:41:35, Yang wrote: > On 2013/11/04 10:19:09, Dmitry Lomov (chromium) wrote: > > ...
7 years, 1 month ago (2013-11-05 13:30:04 UTC) #7
Dmitry Lomov (no reviews)
7 years, 1 month ago (2013-11-05 14:08:11 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r17491 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698