Chromium Code Reviews

Issue 43663003: dart2js. (Closed)

Created:
7 years, 1 month ago by floitsch
Modified:
7 years, 1 month ago
Reviewers:
Lasse Reichstein Nielsen
CC:
reviews_dartlang.org
Visibility:
Public.

Description

dart2js.

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address comments #

Total comments: 11
Unified diffs Side-by-side diffs Stats (+576 lines, -1670 lines)
M runtime/lib/isolate_patch.dart View 2 chunks +13 lines, -1 line 2 comments
M sdk/lib/_internal/lib/isolate_helper.dart View 16 chunks +101 lines, -70 lines 1 comment
M sdk/lib/_internal/lib/isolate_patch.dart View 2 chunks +13 lines, -25 lines 0 comments
M sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart View 1 chunk +1 line, -1 line 0 comments
M sdk/lib/html/dartium/html_dartium.dart View 1 chunk +3 lines, -3 lines 0 comments
M sdk/lib/isolate/isolate.dart View 2 chunks +3 lines, -2 lines 4 comments
M tests/co19/co19-dart2js.status View 2 chunks +0 lines, -2 lines 0 comments
D tests/isolate/count_stream_test.dart View 1 chunk +0 lines, -46 lines 0 comments
M tests/isolate/count_test.dart View 1 chunk +37 lines, -28 lines 4 comments
D tests/isolate/cross_isolate_message_stream_test.dart View 1 chunk +0 lines, -112 lines 0 comments
M tests/isolate/cross_isolate_message_test.dart View 1 chunk +40 lines, -40 lines 0 comments
D tests/isolate/global_error_handler2_test.dart View 1 chunk +0 lines, -45 lines 0 comments
D tests/isolate/global_error_handler_stream2_test.dart View 1 chunk +0 lines, -53 lines 0 comments
D tests/isolate/global_error_handler_stream_test.dart View 1 chunk +0 lines, -47 lines 0 comments
D tests/isolate/global_error_handler_test.dart View 1 chunk +0 lines, -43 lines 0 comments
D tests/isolate/illegal_msg_stream_test.dart View 1 chunk +0 lines, -38 lines 0 comments
M tests/isolate/illegal_msg_test.dart View 1 chunk +27 lines, -19 lines 0 comments
M tests/isolate/isolate.status View 7 chunks +2 lines, -28 lines 0 comments
D tests/isolate/isolate_complex_messages_stream_test.dart View 1 chunk +0 lines, -78 lines 0 comments
M tests/isolate/isolate_complex_messages_test.dart View 1 chunk +25 lines, -15 lines 0 comments
D tests/isolate/mandel_isolate_stream_test.dart View 1 chunk +0 lines, -155 lines 0 comments
M tests/isolate/mandel_isolate_test.dart View 3 chunks +27 lines, -16 lines 0 comments
M tests/isolate/message2_test.dart View 1 chunk +20 lines, -13 lines 0 comments
D tests/isolate/message_stream2_test.dart View 1 chunk +0 lines, -76 lines 0 comments
D tests/isolate/message_stream_test.dart View 1 chunk +0 lines, -144 lines 0 comments
M tests/isolate/message_test.dart View 2 chunks +51 lines, -41 lines 0 comments
M tests/isolate/mint_maker_test.dart View 3 chunks +68 lines, -151 lines 0 comments
M tests/isolate/nested_spawn2_test.dart View 2 chunks +34 lines, -33 lines 0 comments
D tests/isolate/nested_spawn_stream2_test.dart View 1 chunk +0 lines, -80 lines 0 comments
D tests/isolate/nested_spawn_stream_test.dart View 1 chunk +0 lines, -61 lines 0 comments
M tests/isolate/nested_spawn_test.dart View 1 chunk +13 lines, -21 lines 0 comments
M tests/isolate/port_test.dart View 3 chunks +21 lines, -21 lines 0 comments
M tests/isolate/request_reply_test.dart View 1 chunk +15 lines, -15 lines 0 comments
M tests/isolate/spawn_function_custom_class_test.dart View 1 chunk +6 lines, -8 lines 0 comments
M tests/isolate/spawn_function_test.dart View 1 chunk +6 lines, -5 lines 0 comments
M tests/isolate/spawn_uri_nested_child1_vm_isolate.dart View 1 chunk +1 line, -0 lines 0 comments
M tests/isolate/stacktrace_message_test.dart View 1 chunk +15 lines, -13 lines 0 comments
D tests/isolate/stream_mangling_test.dart View 1 chunk +0 lines, -103 lines 0 comments
M tests/isolate/unresolved_ports_test.dart View 2 chunks +34 lines, -18 lines 0 comments

Messages

Total messages: 5 (0 generated)
floitsch
I will merge this CL into the other isolate CL once you think it is ...
7 years, 1 month ago (2013-10-25 11:45:58 UTC) #1
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/43663003/diff/1/sdk/lib/_internal/lib/isolate_helper.dart File sdk/lib/_internal/lib/isolate_helper.dart (right): https://codereview.chromium.org/43663003/diff/1/sdk/lib/_internal/lib/isolate_helper.dart#newcode475 sdk/lib/_internal/lib/isolate_helper.dart:475: var args = msg['args']; Are we sure we ...
7 years, 1 month ago (2013-10-25 12:45:58 UTC) #2
floitsch
I will merge this into the big isolate CL now. https://codereview.chromium.org/43663003/diff/1/sdk/lib/_internal/lib/isolate_helper.dart File sdk/lib/_internal/lib/isolate_helper.dart (right): https://codereview.chromium.org/43663003/diff/1/sdk/lib/_internal/lib/isolate_helper.dart#newcode475 ...
7 years, 1 month ago (2013-10-25 13:52:56 UTC) #3
Lasse Reichstein Nielsen
dbc https://codereview.chromium.org/43663003/diff/80001/runtime/lib/isolate_patch.dart File runtime/lib/isolate_patch.dart (right): https://codereview.chromium.org/43663003/diff/80001/runtime/lib/isolate_patch.dart#newcode222 runtime/lib/isolate_patch.dart:222: throw new ArgumentError("Args must be a list of ...
7 years, 1 month ago (2013-10-25 14:28:24 UTC) #4
floitsch
7 years, 1 month ago (2013-10-25 14:33:13 UTC) #5
https://codereview.chromium.org/43663003/diff/80001/runtime/lib/isolate_patch...
File runtime/lib/isolate_patch.dart (right):

https://codereview.chromium.org/43663003/diff/80001/runtime/lib/isolate_patch...
runtime/lib/isolate_patch.dart:222: throw new ArgumentError("Args must be a list
of Strings $args");
On 2013/10/25 14:28:24, Lasse Reichstein Nielsen wrote:
> If we allow null, will it be null at the other end too, or an empty list?

I would say `null`.

https://codereview.chromium.org/43663003/diff/80001/sdk/lib/isolate/isolate.dart
File sdk/lib/isolate/isolate.dart (right):

https://codereview.chromium.org/43663003/diff/80001/sdk/lib/isolate/isolate.d...
sdk/lib/isolate/isolate.dart:35: : this._controlPort = controlPort;
On 2013/10/25 14:28:24, Lasse Reichstein Nielsen wrote:
> This could be abbreviated again, now that it's not public (but that's just
> source size).

Not worth a separate CL.

https://codereview.chromium.org/43663003/diff/80001/sdk/lib/isolate/isolate.d...
sdk/lib/isolate/isolate.dart:102: * The second argument [replyTo] is deprecated
and its value is ignored.
On 2013/10/25 14:28:24, Lasse Reichstein Nielsen wrote:
> How long will it be before we remove this deprecated parameter?
> It can't be more than a week anyway, so we might as well remove it now, just
to
> be sure.

Soeren just uploaded a CL. So hopefully Monday.

Until then we can't remove it, because we need to adapt the C API samples, ...

https://codereview.chromium.org/43663003/diff/80001/tests/isolate/count_test....
File tests/isolate/count_test.dart (right):

https://codereview.chromium.org/43663003/diff/80001/tests/isolate/count_test....
tests/isolate/count_test.dart:36: print("Main: ${msg[0]}");
On 2013/10/25 14:28:24, Lasse Reichstein Nielsen wrote:
> And again. Did I forget to upload a version with these removed?

I hadn't merged with the latest version yet.
The full CL doesn't contain the prints.

Powered by Google App Engine