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

Issue 15741002: Use a uniform way to emit code for all instructions. (Closed)

Created:
7 years, 7 months ago by Kevin Millikin (Google)
Modified:
7 years, 7 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use a uniform way to emit code for all instructions. Rather than having special cases for block entries and parallel moves, use the normal code generation infrastructure. Take advantage of this to avoid generating duplicate deoptimization entries for some instructions (e.g., GotoInstr). R=fschneider@google.com BUG=

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -172 lines) Patch
M runtime/vm/flow_graph_compiler.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 2 chunks +22 lines, -16 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/intermediate_language.h View 18 chunks +22 lines, -72 lines 4 comments Download
M runtime/vm/intermediate_language.cc View 6 chunks +5 lines, -20 lines 2 comments Download
M runtime/vm/intermediate_language_arm.cc View 2 chunks +5 lines, -10 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 2 chunks +5 lines, -10 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 2 chunks +5 lines, -10 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 2 chunks +5 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Kevin Millikin (Google)
7 years, 7 months ago (2013-05-22 12:18:08 UTC) #1
Florian Schneider
https://codereview.chromium.org/15741002/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/15741002/diff/1/runtime/vm/intermediate_language.cc#newcode1428 runtime/vm/intermediate_language.cc:1428: return new LocationSummary(0, 0, LocationSummary::kNoCall); Is this ever called? ...
7 years, 7 months ago (2013-05-22 15:56:15 UTC) #2
Kevin Millikin (Google)
https://codereview.chromium.org/15741002/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/15741002/diff/1/runtime/vm/intermediate_language.cc#newcode1428 runtime/vm/intermediate_language.cc:1428: return new LocationSummary(0, 0, LocationSummary::kNoCall); On 2013/05/22 15:56:15, Florian ...
7 years, 7 months ago (2013-05-23 09:09:49 UTC) #3
Florian Schneider
lgtm https://codereview.chromium.org/15741002/diff/1/runtime/vm/intermediate_language.h File runtime/vm/intermediate_language.h (right): https://codereview.chromium.org/15741002/diff/1/runtime/vm/intermediate_language.h#newcode931 runtime/vm/intermediate_language.h:931: LocationSummary* locs_; On 2013/05/23 09:09:49, kmillikin wrote: > ...
7 years, 7 months ago (2013-05-23 19:12:35 UTC) #4
Kevin Millikin (Google)
7 years, 7 months ago (2013-05-27 11:21:34 UTC) #5
Actually, I'll close this issue until we sort out what we want to do with
instructions/locations regarding the size of IL instructions.

I'll send you a change with the uncontroversial part.

Powered by Google App Engine
This is Rietveld 408576698