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

Issue 13998008: Add support for even more typed data on native ports (Closed)

Created:
7 years, 8 months ago by Søren Gjesse
Modified:
7 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add support for even more typed data on native ports The only types missing now are: Float32x4, Float32x4List and Uint32x4 (currently no Uint32x4List). R=ager@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=21455

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -20 lines) Patch
M runtime/bin/file.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/include/dart_api.h View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_message.cc View 7 chunks +48 lines, -19 lines 0 comments Download
M sdk/lib/io/common.dart View 1 chunk +7 lines, -0 lines 0 comments Download
M sdk/lib/io/file_impl.dart View 1 chunk +3 lines, -1 line 1 comment Download
M tests/standalone/io/file_typed_data_test.dart View 2 chunks +256 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Gjesse
7 years, 8 months ago (2013-04-15 12:22:17 UTC) #1
Mads Ager (google)
LGTM!
7 years, 8 months ago (2013-04-15 13:14:25 UTC) #2
Søren Gjesse
Committed patchset #1 manually as r21455 (presubmit successful).
7 years, 8 months ago (2013-04-15 14:19:58 UTC) #3
Anders Johnsen
7 years, 8 months ago (2013-04-15 15:46:17 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/13998008/diff/1/sdk/lib/io/file_impl.dart
File sdk/lib/io/file_impl.dart (right):

https://codereview.chromium.org/13998008/diff/1/sdk/lib/io/file_impl.dart#new...
sdk/lib/io/file_impl.dart:816: if ((buffer is !List && buffer is !ByteData) ||
DBC: I believe this is wrong. We should not support ByteData here, but only any
List<int> implementing view of a ByteData. A ByteData will also fail in checked
mode, as it's not a List<int>.

Powered by Google App Engine
This is Rietveld 408576698