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

Issue 10908091: Remove classes Computation and BindInstr. (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

Remove classes Computation and BindInstr. The former Computation classes are folded into the Instruction class hierarchy. R=fschneider@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=11868

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1733 lines, -1845 lines) Patch
M runtime/vm/flow_graph.h View 2 chunks +2 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph.cc View 8 chunks +21 lines, -25 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 3 chunks +5 lines, -7 lines 0 comments Download
M runtime/vm/flow_graph_builder.h View 7 chunks +24 lines, -24 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 67 chunks +241 lines, -240 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.h View 2 chunks +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 3 chunks +9 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 3 chunks +26 lines, -35 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 33 chunks +264 lines, -284 lines 0 comments Download
M runtime/vm/il_printer.h View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/il_printer.cc View 28 chunks +43 lines, -71 lines 0 comments Download
M runtime/vm/intermediate_language.h View 102 chunks +626 lines, -755 lines 3 comments Download
M runtime/vm/intermediate_language.cc View 41 chunks +228 lines, -153 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 75 chunks +106 lines, -110 lines 0 comments Download
M runtime/vm/intermediate_language_test.cc View 2 chunks +8 lines, -9 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 75 chunks +107 lines, -111 lines 0 comments Download
M runtime/vm/locations.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
Please take a look. There is a lot of cleanup needed (also a lot of ...
8 years, 3 months ago (2012-09-05 10:37:03 UTC) #1
Florian Schneider
LGTM. http://codereview.chromium.org/10908091/diff/1/runtime/vm/intermediate_language.h File runtime/vm/intermediate_language.h (right): http://codereview.chromium.org/10908091/diff/1/runtime/vm/intermediate_language.h#newcode1165 runtime/vm/intermediate_language.h:1165: virtual intptr_t GetPropagatedCid() { return propagated_cid(); } Move ...
8 years, 3 months ago (2012-09-05 11:14:42 UTC) #2
Kevin Millikin (Google)
8 years, 3 months ago (2012-09-05 11:27:28 UTC) #3
http://codereview.chromium.org/10908091/diff/1/runtime/vm/intermediate_langua...
File runtime/vm/intermediate_language.h (right):

http://codereview.chromium.org/10908091/diff/1/runtime/vm/intermediate_langua...
runtime/vm/intermediate_language.h:1166: virtual intptr_t ResultCid() const {
return kIllegalCid; }
On 2012/09/05 11:14:42, Florian Schneider wrote:
> UNREACHABLE();

Oops, we can't.  As is, this is called in the type propagator.  I'll make it
UNREACHABLE (here) and check for IsPushArgument (there) to avoid calling it.

That matches exactly the previous behavior.

Powered by Google App Engine
This is Rietveld 408576698