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

Issue 10558005: Further extend TypedArray support in d8: (Closed)

Created:
8 years, 6 months ago by rossberg
Modified:
8 years, 5 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Further extend TypedArray support in d8: - Add copy constructors. - Add subarray methods. - Make instanceof and constructor property work. - Rename PixelArray to Uint8ClampedArray. Also fix broken definition of assertInstanceof in MJSUnit test harness. R=mstarzinger@chromium.org BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=11949

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed Michael's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -59 lines) Patch
M include/v8.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/api.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/d8.h View 3 chunks +13 lines, -3 lines 0 comments Download
M src/d8.cc View 1 14 chunks +189 lines, -47 lines 0 comments Download
M src/objects.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M test/mjsunit/elements-kind.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/external-array.js View 4 chunks +111 lines, -5 lines 0 comments Download
M test/mjsunit/mjsunit.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/pixel-array-rounding.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-1563.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
rossberg
8 years, 6 months ago (2012-06-15 14:54:43 UTC) #1
Michael Starzinger
LGTM (with a few nits). https://chromiumcodereview.appspot.com/10558005/diff/1/src/d8.cc File src/d8.cc (right): https://chromiumcodereview.appspot.com/10558005/diff/1/src/d8.cc#newcode444 src/d8.cc:444: !args[0]->ToObject()->GetHiddenValue( Indentation seems off. ...
8 years, 6 months ago (2012-06-25 09:56:45 UTC) #2
rossberg
https://chromiumcodereview.appspot.com/10558005/diff/1/src/d8.cc File src/d8.cc (right): https://chromiumcodereview.appspot.com/10558005/diff/1/src/d8.cc#newcode444 src/d8.cc:444: !args[0]->ToObject()->GetHiddenValue( On 2012/06/25 09:56:45, Michael Starzinger wrote: > Indentation ...
8 years, 5 months ago (2012-06-28 16:23:34 UTC) #3
Michael Starzinger
8 years, 5 months ago (2012-06-28 16:26:03 UTC) #4
https://chromiumcodereview.appspot.com/10558005/diff/1/src/d8.cc
File src/d8.cc (right):

https://chromiumcodereview.appspot.com/10558005/diff/1/src/d8.cc#newcode482
src/d8.cc:482: if (args[0]->IsObject() &&
On 2012/06/28 16:23:34, rossberg wrote:
> On 2012/06/25 09:56:45, Michael Starzinger wrote:
> > Can we make this a proper "else if" so that all cases are on the same
nesting
> > level?
> 
> Note sure what you're suggesting exactly -- IIUC, that would require
duplicating
> all the code after the inner `if'.

You are right, I screwed up the nesting levels in my head. Sorry for that.

Powered by Google App Engine
This is Rietveld 408576698