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

Issue 311993007: VM: Reduce the number of edge counters in generated code. (Closed)

Created:
6 years, 6 months ago by Florian Schneider
Modified:
6 years, 6 months ago
Reviewers:
Cutch, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

VM: Reduce the number of edge counters in generated code. This CL avoids edge counters for the incoming edge of blocks that have one predecessor and one succesor block. The incoming count is always equal to the outgoing count (modulo exceptional exit by throwing). R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=37170

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : added other platforms #

Patch Set 4 : added other platforms #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -6 lines) Patch
M runtime/vm/block_scheduler.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Florian Schneider
6 years, 6 months ago (2014-06-06 13:27:54 UTC) #1
Cutch
lgtm w/ minor comment https://codereview.chromium.org/311993007/diff/60001/runtime/vm/intermediate_language_mips.cc File runtime/vm/intermediate_language_mips.cc (right): https://codereview.chromium.org/311993007/diff/60001/runtime/vm/intermediate_language_mips.cc#newcode4503 runtime/vm/intermediate_language_mips.cc:4503: (!last_instruction()->IsGoto() || Maybe add a ...
6 years, 6 months ago (2014-06-06 14:56:12 UTC) #2
srdjan
DBC https://codereview.chromium.org/311993007/diff/60001/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/311993007/diff/60001/runtime/vm/intermediate_language_ia32.cc#newcode6004 runtime/vm/intermediate_language_ia32.cc:6004: (this == compiler->flow_graph().graph_entry()->normal_entry()))) { How about factoring this ...
6 years, 6 months ago (2014-06-06 14:59:51 UTC) #3
Florian Schneider
https://codereview.chromium.org/311993007/diff/60001/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/311993007/diff/60001/runtime/vm/intermediate_language_ia32.cc#newcode6004 runtime/vm/intermediate_language_ia32.cc:6004: (this == compiler->flow_graph().graph_entry()->normal_entry()))) { On 2014/06/06 14:59:51, srdjan wrote: ...
6 years, 6 months ago (2014-06-10 08:56:39 UTC) #4
Florian Schneider
6 years, 6 months ago (2014-06-10 10:27:57 UTC) #5
Message was sent while issue was closed.
Committed patchset #6 manually as r37170 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698