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

Issue 2743283002: [kernel] set dartAsyncMarker to Sync for continuations (Closed)

Created:
3 years, 9 months ago by jensj
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[kernel] set dartAsyncMarker to Sync for continuations After 89b68e905b6a096148cedc580016a595e106dcdd debugging of async functions via kernel haven't worked. Prior to this the dartAsyncMarker for e.g. a rewritte async function would have been Sync, after it was Yielding. This changes it back in the continuations rewriting cases. An alternative fix would be to change function.set_is_debuggable( kernel_procedure->function()->dart_async_marker() == FunctionNode::kSync); to something like function.set_is_debuggable( kernel_procedure->function()->dart_async_marker() == FunctionNode::kSync || kernel_procedure->function()->dart_async_marker() == FunctionNode::kYielding); in the C++ code. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/4c38b85cb59fd12f07a07bc96b50d86bba38108d

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M pkg/kernel/lib/transformations/continuation.dart View 1 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
jensj
3 years, 9 months ago (2017-03-13 10:29:10 UTC) #2
Kevin Millikin (Google)
LGTM with a comment at both sites. https://codereview.chromium.org/2743283002/diff/1/pkg/kernel/lib/transformations/continuation.dart File pkg/kernel/lib/transformations/continuation.dart (right): https://codereview.chromium.org/2743283002/diff/1/pkg/kernel/lib/transformations/continuation.dart#newcode132 pkg/kernel/lib/transformations/continuation.dart:132: dartAsyncMarker: AsyncMarker.Sync) ...
3 years, 9 months ago (2017-03-13 11:20:35 UTC) #3
jensj
3 years, 9 months ago (2017-03-13 13:37:12 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
4c38b85cb59fd12f07a07bc96b50d86bba38108d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698