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

Issue 15943002: v8 typed arrays: add DataView type (Closed)

Created:
7 years, 7 months ago by bnoordhuis
Modified:
7 years, 5 months ago
CC:
v8-dev, rossberg, Sven Panne
Visibility:
Public.

Description

v8 typed arrays: add DataView type

Patch Set 1 #

Total comments: 14

Patch Set 2 : v8 typed arrays: add DataView type, v2 #

Total comments: 16
Unified diffs Side-by-side diffs Delta from patch set Stats (+1362 lines, -10 lines) Patch
M include/v8.h View 1 4 chunks +149 lines, -1 line 0 comments Download
M src/api.h View 1 3 chunks +4 lines, -1 line 0 comments Download
M src/api.cc View 1 3 chunks +224 lines, -0 lines 2 comments Download
M src/bootstrapper.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M src/contexts.h View 2 chunks +2 lines, -0 lines 0 comments Download
A src/dataview.js View 1 1 chunk +304 lines, -0 lines 1 comment Download
M src/factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/factory.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/messages.js View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/objects.h View 1 5 chunks +38 lines, -0 lines 0 comments Download
M src/objects.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-debug.cc View 1 3 chunks +25 lines, -8 lines 0 comments Download
M src/objects-inl.h View 1 4 chunks +43 lines, -0 lines 4 comments Download
M src/objects-printer.cc View 2 chunks +19 lines, -0 lines 0 comments Download
M src/objects-visiting.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.h View 1 1 chunk +21 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 1 chunk +236 lines, -0 lines 2 comments Download
M src/utils.h View 1 1 chunk +40 lines, -0 lines 3 comments Download
M test/cctest/test-api.cc View 1 1 chunk +59 lines, -0 lines 0 comments Download
A test/mjsunit/harmony/dataview.js View 1 1 chunk +159 lines, -0 lines 4 comments Download
M tools/gyp/v8.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
bnoordhuis
https://codereview.chromium.org/15943002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/15943002/diff/1/include/v8.h#newcode2451 include/v8.h:2451: uint8_t GetUint8(size_t byte_offset) const; I'd be okay with removing ...
7 years, 7 months ago (2013-05-23 22:59:04 UTC) #1
Sven Panne
Quick drive-by-comments... https://codereview.chromium.org/15943002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/15943002/diff/1/src/api.cc#newcode6161 src/api.cc:6161: #define DATA_VIEW_GETTER(FunctionName, TypeName) \ Don't duplicate tons ...
7 years, 7 months ago (2013-05-24 06:58:24 UTC) #2
bnoordhuis
https://codereview.chromium.org/15943002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/15943002/diff/1/src/api.cc#newcode6161 src/api.cc:6161: #define DATA_VIEW_GETTER(FunctionName, TypeName) \ On 2013/05/24 06:58:25, Sven Panne ...
7 years, 7 months ago (2013-05-24 11:49:03 UTC) #3
bnoordhuis
https://codereview.chromium.org/15943002/diff/1/src/objects-debug.cc File src/objects-debug.cc (right): https://codereview.chromium.org/15943002/diff/1/src/objects-debug.cc#newcode765 src/objects-debug.cc:765: CHECK(byte_offset()->IsSmi() || byte_offset()->IsHeapNumber() On 2013/05/24 11:49:03, ben2 wrote: > ...
7 years, 7 months ago (2013-05-24 11:53:52 UTC) #4
Sven Panne
https://codereview.chromium.org/15943002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/15943002/diff/1/src/api.cc#newcode6214 src/api.cc:6214: #define DATA_VIEW_SETTER_SWIZZLE(FunctionName, TypeName) \ Can't we make this macro ...
7 years, 7 months ago (2013-05-24 12:19:20 UTC) #5
bnoordhuis
On 2013/05/24 12:19:20, Sven Panne wrote: > https://codereview.chromium.org/15943002/diff/1/src/api.cc > File src/api.cc (right): > > https://codereview.chromium.org/15943002/diff/1/src/api.cc#newcode6214 ...
7 years, 6 months ago (2013-05-30 23:54:58 UTC) #6
Dmitry Lomov (no reviews)
Ben, I appreciate the work you put into this patch. However, I think this implementation ...
7 years, 6 months ago (2013-06-03 13:09:04 UTC) #7
bnoordhuis
Replying to things that are unclear. No comment means "I agree" or "will do." On ...
7 years, 6 months ago (2013-06-03 13:47:32 UTC) #8
bnoordhuis
https://codereview.chromium.org/15943002/diff/17001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/15943002/diff/17001/src/api.cc#newcode6099 src/api.cc:6099: i::Handle<i::ExternalArray> elements = On 2013/06/03 13:09:04, Dmitry Lomov (chromium) ...
7 years, 6 months ago (2013-06-03 13:48:12 UTC) #9
Dmitry Lomov (no reviews)
On 2013/06/03 13:47:32, ben2 wrote: > Replying to things that are unclear. No comment means ...
7 years, 6 months ago (2013-06-03 14:25:34 UTC) #10
Dmitry Lomov (no reviews)
Some replies. https://codereview.chromium.org/15943002/diff/17001/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/15943002/diff/17001/src/objects-inl.h#newcode5335 src/objects-inl.h:5335: size_t byte_length = static_cast<size_t>(this->byte_length()->Number()); On 2013/06/03 13:48:12, ...
7 years, 6 months ago (2013-06-03 14:42:49 UTC) #11
Dmitry Lomov (no reviews)
7 years, 5 months ago (2013-07-03 19:38:55 UTC) #12
Closing this since we now ship an implementation of DataView

Powered by Google App Engine
This is Rietveld 408576698