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

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed)

Created:
8 years, 3 months ago by Mads Ager (google)
Modified:
8 years, 3 months ago
CC:
reviews_dartlang.org, sra1
Visibility:
Public.

Description

Introduce a VM-only dart:scalarlist library for byte arrays. Include it in the SDK so users can use it. Create a dummy implementation and patch file for the library for dart2js so it can be documented. Johnni, can you think of a nicer way of making documentation generation work for a VM only library? Also, it seems that patching kills the documentation comments and they do not show up in the generated docs. R=iposva@google.com,johnniwinther@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=12616

Patch Set 1 #

Patch Set 2 : Add missing gypi file. #

Patch Set 3 : Add more missing files. #

Patch Set 4 : Use abstract classes instead of interfaces. #

Total comments: 2

Patch Set 5 : Fix intrinsifier #

Patch Set 6 : Move init call for scalarlist lib #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1066 lines, -752 lines) Patch
M lib/_internal/libraries.dart View 1 chunk +6 lines, -0 lines 0 comments Download
A lib/compiler/implementation/lib/scalarlist.dart View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A lib/compiler/implementation/lib/scalarlist_patch.dart View 1 2 1 chunk +118 lines, -0 lines 0 comments Download
A lib/scalarlist/scalarlist.dart View 1 2 3 1 chunk +675 lines, -0 lines 0 comments Download
A + lib/scalarlist/scalarlist_sources.gypi View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/dartutils.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/io.dart View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/lib/byte_array.dart View 1 chunk +32 lines, -708 lines 0 comments Download
M runtime/lib/lib_sources.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
A + runtime/lib/scalarlist_sources.gypi View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M runtime/tests/vm/dart/byte_array_test.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap.h View 3 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/bootstrap.cc View 2 chunks +8 lines, -1 line 0 comments Download
M runtime/vm/bootstrap_natives.cc View 2 chunks +5 lines, -1 line 0 comments Download
M runtime/vm/bootstrap_nocorelib.cc View 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/intrinsifier.cc View 1 2 3 4 3 chunks +13 lines, -4 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 4 chunks +55 lines, -25 lines 0 comments Download
M runtime/vm/object_store.h View 3 chunks +9 lines, -1 line 0 comments Download
M runtime/vm/object_store.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/snapshot_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/vm.gypi View 5 chunks +84 lines, -0 lines 0 comments Download
M tests/standalone/byte_array_test.dart View 1 chunk +3 lines, -1 line 0 comments Download
M tests/standalone/io/http_parser_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/standalone/io/web_socket_test.dart View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/create_sdk.py View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Mads Ager (google)
8 years, 3 months ago (2012-09-13 15:56:47 UTC) #1
Mads Ager (google)
Sorry about that. I forgot to add three files to the changelist. It is all ...
8 years, 3 months ago (2012-09-14 10:48:21 UTC) #2
Johnni Winther
LGTM for the dart2js part
8 years, 3 months ago (2012-09-14 11:45:10 UTC) #3
dgrove
Mads - can this be part of dart:core? I would really prefer that over adding ...
8 years, 3 months ago (2012-09-18 22:08:17 UTC) #4
cshapiro
Hi Mads, If this is not part of dart:core, how is Dartium supposed to make ...
8 years, 3 months ago (2012-09-18 23:30:33 UTC) #5
Mads Ager (google)
On 2012/09/18 22:08:17, dgrove wrote: > Mads - can this be part of dart:core? I ...
8 years, 3 months ago (2012-09-19 05:57:09 UTC) #6
Mads Ager (google)
On 2012/09/18 23:30:33, cshapiro wrote: > Hi Mads, > > If this is not part ...
8 years, 3 months ago (2012-09-19 06:00:42 UTC) #7
dgrove
On 2012/09/19 06:00:42, Mads Ager wrote: > On 2012/09/18 23:30:33, cshapiro wrote: > > Hi ...
8 years, 3 months ago (2012-09-19 06:03:09 UTC) #8
kasperl
I haven't looked at the details of this change, but I'm *very* supportive of not ...
8 years, 3 months ago (2012-09-19 10:00:54 UTC) #9
cshapiro
Hi Kasper, Regarding your comment, the {Int,Uint}{8,16,32,64}List and Float{32,64}List types are efficiently implementable with ordinary ...
8 years, 3 months ago (2012-09-19 23:30:17 UTC) #10
Ivan Posva
One comment on top of the ones we had in direct discussion. -Ivan https://codereview.chromium.org/10919267/diff/2002/runtime/vm/object.cc File ...
8 years, 3 months ago (2012-09-20 06:42:26 UTC) #11
Mads Ager (google)
Fix intrinsifier. Thanks Ivan. https://codereview.chromium.org/10919267/diff/2002/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/10919267/diff/2002/runtime/vm/object.cc#newcode557 runtime/vm/object.cc:557: Library::InitScalarlistLibrary(isolate); On 2012/09/20 06:42:26, Ivan ...
8 years, 3 months ago (2012-09-20 06:49:43 UTC) #12
Ivan Posva
8 years, 3 months ago (2012-09-20 07:07:02 UTC) #13
LGTM -ip

Powered by Google App Engine
This is Rietveld 408576698