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

Issue 2962353003: Implement Dart VM option '--trace_sim_after' in DBC simulator (Closed)

Created:
3 years, 5 months ago by alexmarkov
Modified:
3 years, 5 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Implement Dart VM option '--trace_sim_after' in DBC simulator R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/b04b95cfd2b735eff2058b8dc90ea2653a1aea43

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixes for review comments #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M runtime/vm/simulator_dbc.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/simulator_dbc.cc View 1 3 chunks +32 lines, -0 lines 4 comments Download

Messages

Total messages: 10 (4 generated)
alexmarkov
3 years, 5 months ago (2017-06-30 16:21:01 UTC) #4
zra
https://codereview.chromium.org/2962353003/diff/1/runtime/vm/simulator_dbc.h File runtime/vm/simulator_dbc.h (right): https://codereview.chromium.org/2962353003/diff/1/runtime/vm/simulator_dbc.h#newcode96 runtime/vm/simulator_dbc.h:96: uint64_t icount_; We don't need this field in a ...
3 years, 5 months ago (2017-06-30 18:59:14 UTC) #5
alexmarkov
Fixed review comments.
3 years, 5 months ago (2017-06-30 21:53:52 UTC) #6
zra
lgtm w/ nits. https://codereview.chromium.org/2962353003/diff/40001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (right): https://codereview.chromium.org/2962353003/diff/40001/runtime/vm/simulator_dbc.cc#newcode578 runtime/vm/simulator_dbc.cc:578: Two newlines between functions in source ...
3 years, 5 months ago (2017-06-30 22:08:42 UTC) #7
alexmarkov
Committed patchset #2 (id:40001) manually as b04b95cfd2b735eff2058b8dc90ea2653a1aea43 (presubmit successful).
3 years, 5 months ago (2017-06-30 22:29:15 UTC) #9
alexmarkov
3 years, 5 months ago (2017-06-30 23:02:00 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/2962353003/diff/1/runtime/vm/simulator_dbc.h
File runtime/vm/simulator_dbc.h (right):

https://codereview.chromium.org/2962353003/diff/1/runtime/vm/simulator_dbc.h#...
runtime/vm/simulator_dbc.h:96: uint64_t icount_;
On 2017/06/30 18:59:14, zra wrote:
> We don't need this field in a PRODUCT build. You can exclude it with:
> 
> NOT_IN_PRODUCT(uint64_t icount_);

Done.

https://codereview.chromium.org/2962353003/diff/1/runtime/vm/simulator_dbc.h#...
runtime/vm/simulator_dbc.h:166: bool IsTracingExecution() const;
On 2017/06/30 18:59:14, zra wrote:
> ditto

Done.

https://codereview.chromium.org/2962353003/diff/1/runtime/vm/simulator_dbc.h#...
runtime/vm/simulator_dbc.h:169: void TraceInstruction(uint32_t* pc) const;
On 2017/06/30 18:59:14, zra wrote:
> ditto

Done.

https://codereview.chromium.org/2962353003/diff/40001/runtime/vm/simulator_db...
File runtime/vm/simulator_dbc.cc (right):

https://codereview.chromium.org/2962353003/diff/40001/runtime/vm/simulator_db...
runtime/vm/simulator_dbc.cc:578: 
On 2017/06/30 22:08:42, zra wrote:
> Two newlines between functions in source files.

Done.

https://codereview.chromium.org/2962353003/diff/40001/runtime/vm/simulator_db...
runtime/vm/simulator_dbc.cc:597: 
On 2017/06/30 22:08:41, zra wrote:
> ditto

Done.

Powered by Google App Engine
This is Rietveld 408576698