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

Issue 2796283003: VM: [Kernel] Implement CatchBlockEntryInstr::should_restore_closure_context on all platforms. (Closed)

Created:
3 years, 8 months ago by Vyacheslav Egorov (Google)
Modified:
3 years, 8 months ago
Reviewers:
zra, kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: [Kernel] Implement CatchBlockEntryInstr::should_restore_closure_context on all platforms. This was the only Kernel specific backend change - to simplify the graph builder we allowed it to capture exception and stack trace variables. This in turn requires CatchBlockEntryInstr to respect that this variables can be captured and correctly update them when exception is caught. This was implemented on X64 and ARM before. This CL expands implementation to all other implementations including DBC. R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/7e1d584218bca5061a773f92a4a49292d005a8a4

Patch Set 1 #

Patch Set 2 : Fix status file #

Total comments: 4

Patch Set 3 : Address Zach's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -42 lines) Patch
M runtime/observatory/tests/service/service.status View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_dbc.cc View 2 chunks +18 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 1 chunk +35 lines, -6 lines 0 comments Download
M runtime/vm/intermediate_language_dbc.cc View 1 chunk +60 lines, -17 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 chunk +46 lines, -6 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 1 chunk +35 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Vyacheslav Egorov (Google)
Please take a look.
3 years, 8 months ago (2017-04-05 14:59:43 UTC) #2
zra
https://codereview.chromium.org/2796283003/diff/20001/runtime/vm/intermediate_language_arm64.cc File runtime/vm/intermediate_language_arm64.cc (right): https://codereview.chromium.org/2796283003/diff/20001/runtime/vm/intermediate_language_arm64.cc#newcode2630 runtime/vm/intermediate_language_arm64.cc:2630: __ ldr(CTX, Address(FP, closure_parameter->index() * kWordSize)); Is the closure_parameter ...
3 years, 8 months ago (2017-04-05 16:10:45 UTC) #3
Vyacheslav Egorov (Google)
Addressed comments, please take another look. https://codereview.chromium.org/2796283003/diff/20001/runtime/vm/intermediate_language_arm64.cc File runtime/vm/intermediate_language_arm64.cc (right): https://codereview.chromium.org/2796283003/diff/20001/runtime/vm/intermediate_language_arm64.cc#newcode2630 runtime/vm/intermediate_language_arm64.cc:2630: __ ldr(CTX, Address(FP, ...
3 years, 8 months ago (2017-04-05 16:23:30 UTC) #4
zra
lgtm
3 years, 8 months ago (2017-04-05 16:34:34 UTC) #5
Vyacheslav Egorov (Google)
3 years, 8 months ago (2017-04-05 18:32:11 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
7e1d584218bca5061a773f92a4a49292d005a8a4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698