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

Issue 2640353002: VM: [Kernel] Ensure we don't capture :stack_trace variable in yielding functions (Closed)

Created:
3 years, 11 months ago by kustermann
Modified:
3 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, jensj, Kevin Millikin (Google)
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: [Kernel] Ensure we don't capture :stack_trace variable in yielding functions R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/c5c7f45be0811a5fe0bca730fdd0b05ed68af619

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M runtime/vm/kernel_to_il.cc View 1 chunk +2 lines, -1 line 1 comment Download
M tests/language/language_kernel.status View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
kustermann
3 years, 11 months ago (2017-01-19 17:51:56 UTC) #2
Vyacheslav Egorov (Google)
lgtm
3 years, 11 months ago (2017-01-19 17:52:50 UTC) #3
kustermann
Committed patchset #1 (id:1) manually as c5c7f45be0811a5fe0bca730fdd0b05ed68af619 (presubmit successful).
3 years, 11 months ago (2017-01-19 17:53:31 UTC) #5
Florian Schneider
dbc: https://codereview.chromium.org/2640353002/diff/1/runtime/vm/kernel_to_il.cc File runtime/vm/kernel_to_il.cc (right): https://codereview.chromium.org/2640353002/diff/1/runtime/vm/kernel_to_il.cc#newcode678 runtime/vm/kernel_to_il.cc:678: scope->VariableAt(offset + i)->set_is_forced_stack(); Can we get rid of ...
3 years, 11 months ago (2017-01-19 17:57:16 UTC) #7
kustermann
3 years, 11 months ago (2017-01-19 18:03:22 UTC) #8
Message was sent while issue was closed.
On 2017/01/19 17:57:16, Florian Schneider wrote:
> dbc:
> 
> https://codereview.chromium.org/2640353002/diff/1/runtime/vm/kernel_to_il.cc
> File runtime/vm/kernel_to_il.cc (right):
> 
>
https://codereview.chromium.org/2640353002/diff/1/runtime/vm/kernel_to_il.cc#...
> runtime/vm/kernel_to_il.cc:678: scope->VariableAt(offset +
> i)->set_is_forced_stack();
> Can we get rid of is_forced_stack?
> 
> (see the discussion a while ago about exception_var and stacktrace_var in the
> kernel merge CL)

The plan was always to get rid of dart::kernel::ScopeBuilder which should allow
us to get rid of it.

Last thing I heard was that with @kmillikin's streaming flow graph builder
(which is in the works) the capturing information will be pre-computed in the
frontend.

Powered by Google App Engine
This is Rietveld 408576698