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

Issue 1790593002: Move the VM's typed_data implementation to runtime/lib. (Closed)

Created:
4 years, 9 months ago by Florian Schneider
Modified:
4 years, 9 months ago
Reviewers:
zra, siva, Ivan Posva
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Move the VM's typed_data implementation to runtime/lib. This removes the additional indirection to the VM's implementation for all the factory constructors. Additionally, it removes one class per typed data list type, thus reducing snapshot and generated code size. BUG= R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/f3de2377ab4a5a021bcdbc288abb41dd2901bc17

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1271 lines, -530 lines) Patch
M runtime/lib/typed_data.dart View 46 chunks +1080 lines, -271 lines 0 comments Download
M runtime/observatory/tests/service/get_object_rpc_test.dart View 8 chunks +8 lines, -8 lines 0 comments Download
M runtime/vm/bootstrap.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/method_recognizer.h View 6 chunks +135 lines, -149 lines 0 comments Download
M runtime/vm/object.cc View 3 chunks +9 lines, -17 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/profiler_test.cc View 2 chunks +1 line, -3 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +16 lines, -0 lines 0 comments Download
M runtime/vm/symbols.h View 3 chunks +16 lines, -33 lines 0 comments Download
M runtime/vm/vm.gypi View 5 chunks +2 lines, -45 lines 1 comment Download

Messages

Total messages: 10 (4 generated)
Florian Schneider
4 years, 9 months ago (2016-03-11 16:43:03 UTC) #2
siva
lgtm
4 years, 9 months ago (2016-03-14 17:37:32 UTC) #4
Florian Schneider
Committed patchset #1 (id:1) manually as f3de2377ab4a5a021bcdbc288abb41dd2901bc17 (presubmit successful).
4 years, 9 months ago (2016-03-21 12:39:55 UTC) #6
zra
DBC https://codereview.chromium.org/1790593002/diff/1/runtime/vm/vm.gypi File runtime/vm/vm.gypi (right): https://codereview.chromium.org/1790593002/diff/1/runtime/vm/vm.gypi#newcode975 runtime/vm/vm.gypi:975: '../lib/typed_data_sources.gypi', Can this be changed back? This change ...
4 years, 9 months ago (2016-03-23 17:23:49 UTC) #8
zra
+johnmccutchan FYI
4 years, 9 months ago (2016-03-23 17:25:26 UTC) #9
zra
4 years, 9 months ago (2016-03-23 20:26:30 UTC) #10
Message was sent while issue was closed.
On 2016/03/23 17:23:49, zra wrote:
> DBC
> 
> https://codereview.chromium.org/1790593002/diff/1/runtime/vm/vm.gypi
> File runtime/vm/vm.gypi (right):
> 
>
https://codereview.chromium.org/1790593002/diff/1/runtime/vm/vm.gypi#newcode975
> runtime/vm/vm.gypi:975: '../lib/typed_data_sources.gypi',
> Can this be changed back? This change breaks the convention that patch sources
> come from ../lib and the shared sources come from ../sdk/lib, which we were
> relying on for the GN build here:
> https://github.com/dart-lang/sdk/blob/master/runtime/vm/BUILD.gn#L109. This is
> making the roll into Mojo difficult, and will probably make the roll into
> Flutter difficult, as well.

I worked around this with https://codereview.chromium.org/1825213004/, but it
would be nice to avoid complicating the macro further.

Powered by Google App Engine
This is Rietveld 408576698