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

Issue 10894034: Make constants computations instead of values. (Closed)

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

Description

Make constants computations instead of values. This change requires a pool of global constants that don't have an easy place to go in the instruction stream. Currently, that is only the constant null used to mark eliminated phis in deoptimization environments. R=fschneider@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=11518

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -303 lines) Patch
M runtime/vm/deopt_instructions.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph.cc View 6 chunks +15 lines, -18 lines 1 comment Download
M runtime/vm/flow_graph_allocator.cc View 7 chunks +88 lines, -79 lines 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 18 chunks +22 lines, -26 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/il_printer.cc View 2 chunks +2 lines, -25 lines 0 comments Download
M runtime/vm/intermediate_language.h View 6 chunks +14 lines, -45 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 7 chunks +64 lines, -91 lines 3 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_test.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Google)
8 years, 3 months ago (2012-08-29 09:25:47 UTC) #1
Kevin Millikin (Google)
https://chromiumcodereview.appspot.com/10894034/diff/1/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://chromiumcodereview.appspot.com/10894034/diff/1/runtime/vm/flow_graph.cc#newcode507 runtime/vm/flow_graph.cc:507: start_env.Add(graph_entry_->constant_null()); This is a bit dodgy, because there are ...
8 years, 3 months ago (2012-08-29 09:56:00 UTC) #2
Florian Schneider
lgtm https://chromiumcodereview.appspot.com/10894034/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://chromiumcodereview.appspot.com/10894034/diff/1/runtime/vm/intermediate_language.cc#newcode110 runtime/vm/intermediate_language.cc:110: constant_null_(new BindInstr(BindInstr::kUsed, Maybe break after the first '(' ...
8 years, 3 months ago (2012-08-29 11:07:48 UTC) #3
Kevin Millikin (Google)
8 years, 3 months ago (2012-08-29 12:43:44 UTC) #4
https://chromiumcodereview.appspot.com/10894034/diff/1/runtime/vm/intermediat...
File runtime/vm/intermediate_language.cc (right):

https://chromiumcodereview.appspot.com/10894034/diff/1/runtime/vm/intermediat...
runtime/vm/intermediate_language.cc:424: return;
On 2012/08/29 11:07:48, Florian Schneider wrote:
> No need for a return here.

Actually, this whole function seems kind of pointless now.  I'll just get rid of
it.

Powered by Google App Engine
This is Rietveld 408576698