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

Issue 2503653002: JumpToFrame refactor (Closed)

Created:
4 years, 1 month ago by turnidge
Modified:
4 years, 1 month ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

JumpToFrame refactor - Refactor the JumpToExceptionHandle code so that it is now built from two pieces: JumpToFrame and RunExceptionHandler. - Refactor the Simulator::Longjmp() code so that it is no longer exception-specific. Instead it uses the RunExceptionHandler stub. This makes it so that the JumpToFrame stub and Simulator::JumpToFrame have the same semantics. This will make it easier to land the Rewind changes I am working on. There are some oddities for dbc. BUG= R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/5ed13d3298e44cea5de0558bbb30efabf7a9f8e8

Patch Set 1 #

Patch Set 2 : tweaks #

Total comments: 2

Patch Set 3 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -147 lines) Patch
M runtime/vm/exceptions.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/exceptions.cc View 1 3 chunks +17 lines, -12 lines 0 comments Download
M runtime/vm/profiler.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M runtime/vm/simulator_arm.h View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/simulator_arm.cc View 2 chunks +1 line, -10 lines 0 comments Download
M runtime/vm/simulator_arm64.h View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/simulator_arm64.cc View 2 chunks +1 line, -10 lines 0 comments Download
M runtime/vm/simulator_dbc.h View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/simulator_dbc.cc View 2 chunks +15 lines, -10 lines 0 comments Download
M runtime/vm/simulator_mips.h View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/simulator_mips.cc View 2 chunks +1 line, -10 lines 0 comments Download
M runtime/vm/stub_code.h View 3 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/stub_code.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 2 chunks +25 lines, -8 lines 0 comments Download
M runtime/vm/stub_code_arm64.cc View 1 2 2 chunks +25 lines, -8 lines 0 comments Download
M runtime/vm/stub_code_dbc.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 2 chunks +27 lines, -10 lines 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 2 2 chunks +28 lines, -11 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 2 chunks +29 lines, -21 lines 0 comments Download
M runtime/vm/thread.h View 2 chunks +21 lines, -0 lines 0 comments Download
M runtime/vm/thread.cc View 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
turnidge
4 years, 1 month ago (2016-11-14 22:09:45 UTC) #2
Cutch
LGTM with a comment about a comment. https://codereview.chromium.org/2503653002/diff/20001/runtime/vm/stub_code_arm.cc File runtime/vm/stub_code_arm.cc (right): https://codereview.chromium.org/2503653002/diff/20001/runtime/vm/stub_code_arm.cc#newcode1877 runtime/vm/stub_code_arm.cc:1877: __ bx(LR); ...
4 years, 1 month ago (2016-11-14 22:19:14 UTC) #3
turnidge
Committed patchset #3 (id:40001) manually as 5ed13d3298e44cea5de0558bbb30efabf7a9f8e8 (presubmit successful).
4 years, 1 month ago (2016-11-14 22:38:25 UTC) #5
turnidge
4 years, 1 month ago (2016-11-14 22:39:01 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2503653002/diff/20001/runtime/vm/stub_code_ar...
File runtime/vm/stub_code_arm.cc (right):

https://codereview.chromium.org/2503653002/diff/20001/runtime/vm/stub_code_ar...
runtime/vm/stub_code_arm.cc:1877: __ bx(LR);  // Jump to program counter.
On 2016/11/14 22:19:14, Cutch wrote:
> // Jump to link register.

Done.

Powered by Google App Engine
This is Rietveld 408576698