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

Issue 10836239: Change indexed load and store IL instructions to fit with SSA backend. (Closed)

Created:
8 years, 4 months ago by Florian Schneider
Modified:
8 years, 4 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Change indexed load and store IL instructions to fit with SSA backend. Generic indexed operations are implemented as normal instance calls. Specialized operations are inserted by the flow-graph optimizer. This also avoid a lot of duplicated code in the code generator. Committed: https://code.google.com/p/dart/source/detail?r=10727

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -413 lines) Patch
M vm/flow_graph_builder.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M vm/flow_graph_builder.cc View 1 1 chunk +57 lines, -33 lines 0 comments Download
M vm/flow_graph_compiler.cc View 1 1 chunk +0 lines, -22 lines 0 comments Download
M vm/flow_graph_compiler_x64.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M vm/flow_graph_optimizer.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M vm/flow_graph_optimizer.cc View 1 4 chunks +76 lines, -64 lines 1 comment Download
M vm/intermediate_language.h View 1 4 chunks +19 lines, -36 lines 0 comments Download
M vm/intermediate_language_ia32.cc View 1 3 chunks +26 lines, -136 lines 0 comments Download
M vm/intermediate_language_x64.cc View 1 3 chunks +9 lines, -115 lines 0 comments Download
M vm/token.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Florian Schneider
8 years, 4 months ago (2012-08-14 14:11:39 UTC) #1
Vyacheslav Egorov (Google)
lgtm with comments https://chromiumcodereview.appspot.com/10836239/diff/1/vm/flow_graph_builder.cc File vm/flow_graph_builder.cc (right): https://chromiumcodereview.appspot.com/10836239/diff/1/vm/flow_graph_builder.cc#newcode2111 vm/flow_graph_builder.cc:2111: false)); // Result not needed. It's ...
8 years, 4 months ago (2012-08-15 13:16:09 UTC) #2
Florian Schneider
https://chromiumcodereview.appspot.com/10836239/diff/1/vm/flow_graph_builder.cc File vm/flow_graph_builder.cc (right): https://chromiumcodereview.appspot.com/10836239/diff/1/vm/flow_graph_builder.cc#newcode2111 vm/flow_graph_builder.cc:2111: false)); // Result not needed. On 2012/08/15 13:16:09, Vyacheslav ...
8 years, 4 months ago (2012-08-15 13:53:51 UTC) #3
srdjan
8 years, 4 months ago (2012-08-15 22:13:34 UTC) #4
Nice! DBC:

https://chromiumcodereview.appspot.com/10836239/diff/8001/vm/flow_graph_optim...
File vm/flow_graph_optimizer.cc (right):

https://chromiumcodereview.appspot.com/10836239/diff/8001/vm/flow_graph_optim...
vm/flow_graph_optimizer.cc:203: if (op_kind == Token::kINDEX) {
Assert somewhere that you have only Token::INDEX or Token::ASSIGN_INDEX

Powered by Google App Engine
This is Rietveld 408576698