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

Issue 9702074: Add support for capturing and changing the current isolate in the closure wrapper. (Closed)

Created:
8 years, 9 months ago by ngeoffray
Modified:
8 years, 9 months ago
CC:
reviews_dartlang.org, karlklose, Lasse Reichstein Nielsen, ahe
Visibility:
Public.

Description

Add support for capturing and changing the current isolate in the closure wrapper. Committed: https://code.google.com/p/dart/source/detail?r=5638

Patch Set 1 : #

Total comments: 20

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -78 lines) Patch
M client/tests/client/client-leg.status View 1 1 chunk +4 lines, -4 lines 0 comments Download
M frog/leg/compiler.dart View 1 2 chunks +7 lines, -1 line 0 comments Download
M frog/leg/lib/js_helper.dart View 1 2 chunks +22 lines, -18 lines 0 comments Download
M frog/leg/ssa/builder.dart View 1 2 chunks +116 lines, -45 lines 0 comments Download
M lib/isolate/isolate_leg.dart View 1 1 chunk +14 lines, -0 lines 0 comments Download
M samples/tests/samples/samples.status View 1 2 1 chunk +1 line, -3 lines 3 comments Download
M samples/tests/samples/samples-leg.status View 1 2 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ngeoffray
https://chromiumcodereview.appspot.com/9702074/diff/4001/client/tests/client/client-leg.status File client/tests/client/client-leg.status (left): https://chromiumcodereview.appspot.com/9702074/diff/4001/client/tests/client/client-leg.status#oldcode32 client/tests/client/client-leg.status:32: dom/IsolateLightTest: Skip # Timeout This test is now passing. ...
8 years, 9 months ago (2012-03-15 16:26:21 UTC) #1
kasperl
First comments: https://chromiumcodereview.appspot.com/9702074/diff/4001/client/tests/client/client-leg.status File client/tests/client/client-leg.status (right): https://chromiumcodereview.appspot.com/9702074/diff/4001/client/tests/client/client-leg.status#newcode32 client/tests/client/client-leg.status:32: # Uses 'exploratory API' (see client/dom/src/spawnDomIsolate Please, ...
8 years, 9 months ago (2012-03-16 06:00:01 UTC) #2
kasperl
LGTM. https://chromiumcodereview.appspot.com/9702074/diff/4001/frog/leg/ssa/builder.dart File frog/leg/ssa/builder.dart (right): https://chromiumcodereview.appspot.com/9702074/diff/4001/frog/leg/ssa/builder.dart#newcode1734 frog/leg/ssa/builder.dart:1734: if (!node.arguments.isEmpty()) { There's sooo much code in ...
8 years, 9 months ago (2012-03-16 11:06:42 UTC) #3
ahe
DBC https://chromiumcodereview.appspot.com/9702074/diff/4001/frog/leg/lib/js_helper.dart File frog/leg/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/9702074/diff/4001/frog/leg/lib/js_helper.dart#newcode1350 frog/leg/lib/js_helper.dart:1350: if (nbArgs == 0) { Please avoid abbreviations. ...
8 years, 9 months ago (2012-03-16 14:03:16 UTC) #4
ngeoffray
Thanks Peter and Kasper for the comments. https://chromiumcodereview.appspot.com/9702074/diff/4001/client/tests/client/client-leg.status File client/tests/client/client-leg.status (right): https://chromiumcodereview.appspot.com/9702074/diff/4001/client/tests/client/client-leg.status#newcode32 client/tests/client/client-leg.status:32: # Uses ...
8 years, 9 months ago (2012-03-19 10:29:58 UTC) #5
Siggi Cherem (dart-lang)
lgtm https://chromiumcodereview.appspot.com/9702074/diff/13002/samples/tests/samples/samples.status File samples/tests/samples/samples.status (right): https://chromiumcodereview.appspot.com/9702074/diff/13002/samples/tests/samples/samples.status#newcode70 samples/tests/samples/samples.status:70: dartcombat/DartCombatTest: Fail # Uncaught TypeError: Object #<FutureImpl> has ...
8 years, 9 months ago (2012-03-24 01:10:19 UTC) #6
ngeoffray
https://chromiumcodereview.appspot.com/9702074/diff/13002/samples/tests/samples/samples.status File samples/tests/samples/samples.status (right): https://chromiumcodereview.appspot.com/9702074/diff/13002/samples/tests/samples/samples.status#newcode70 samples/tests/samples/samples.status:70: dartcombat/DartCombatTest: Fail # Uncaught TypeError: Object #<FutureImpl> has no ...
8 years, 9 months ago (2012-03-25 19:00:52 UTC) #7
Siggi Cherem (dart-lang)
8 years, 9 months ago (2012-03-26 18:01:42 UTC) #8
https://chromiumcodereview.appspot.com/9702074/diff/13002/samples/tests/sampl...
File samples/tests/samples/samples.status (right):

https://chromiumcodereview.appspot.com/9702074/diff/13002/samples/tests/sampl...
samples/tests/samples/samples.status:70: dartcombat/DartCombatTest: Fail #
Uncaught TypeError: Object #<FutureImpl> has no method 'receive$1'
On 2012/03/25 19:00:52, ngeoffray wrote:
> On 2012/03/24 01:10:19, sigmund wrote:
> > good to know.. I added a bug to fix this.
> 
> Note that I haven't investigated the failure, and it might as well be a bug in
> leg.

I recently changed sendport.call to return a future, rather than a receive port.
The error tells me that this is probably a place where I didn't fix the use of
sendport.call.

Powered by Google App Engine
This is Rietveld 408576698