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

Issue 2414173003: Check for the type of the the spawned function. (Closed)

Created:
4 years, 2 months ago by floitsch
Modified:
4 years, 2 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Check for the type of the the spawned function. In general we avoid explicit type-checks, but in this case the error would be only detected in the new isolate making error handling much harder. Fixes #27185 BUG= http://dartbug.com/27185. R=lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/136e476c870394d8fa7a777e97e95bb21382177a

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rename typedefs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -11 lines) Patch
M runtime/lib/isolate_patch.dart View 1 3 chunks +10 lines, -5 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/isolate_patch.dart View 1 2 chunks +7 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
floitsch
4 years, 2 months ago (2016-10-14 09:52:56 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/2414173003/diff/1/runtime/lib/isolate_patch.dart File runtime/lib/isolate_patch.dart (right): https://codereview.chromium.org/2414173003/diff/1/runtime/lib/isolate_patch.dart#newcode315 runtime/lib/isolate_patch.dart:315: if (entryPoint is! _MainFunctionArgs) { _MainFunctionArgs is not ...
4 years, 2 months ago (2016-10-14 10:13:56 UTC) #3
floitsch
https://codereview.chromium.org/2414173003/diff/1/sdk/lib/_internal/js_runtime/lib/isolate_patch.dart File sdk/lib/_internal/js_runtime/lib/isolate_patch.dart (right): https://codereview.chromium.org/2414173003/diff/1/sdk/lib/_internal/js_runtime/lib/isolate_patch.dart#newcode13 sdk/lib/_internal/js_runtime/lib/isolate_patch.dart:13: typedef _SingleArgumentFunction(arg); On 2016/10/14 10:13:56, Lasse Reichstein Nielsen wrote: ...
4 years, 2 months ago (2016-10-14 11:25:42 UTC) #4
floitsch
https://codereview.chromium.org/2414173003/diff/1/runtime/lib/isolate_patch.dart File runtime/lib/isolate_patch.dart (right): https://codereview.chromium.org/2414173003/diff/1/runtime/lib/isolate_patch.dart#newcode315 runtime/lib/isolate_patch.dart:315: if (entryPoint is! _MainFunctionArgs) { On 2016/10/14 10:13:56, Lasse ...
4 years, 2 months ago (2016-10-14 11:25:59 UTC) #5
floitsch
4 years, 2 months ago (2016-10-14 11:27:18 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
136e476c870394d8fa7a777e97e95bb21382177a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698