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

Issue 10831176: Make CreateArrayComp a call by using explicit push-argument instructions. (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

Make CreateArrayComp a call by using explicit push-argument instructions. This enables SSA compilation of functions containing CreateArray. Currently, we don't support call-instructions that have pushed arguments and also take input operands in registers. This will be done in a separate CL. Committed: https://code.google.com/p/dart/source/detail?r=10284

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -73 lines) Patch
M vm/flow_graph_builder.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M vm/intermediate_language.h View 3 chunks +6 lines, -8 lines 2 comments Download
M vm/intermediate_language.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M vm/intermediate_language_ia32.cc View 1 chunk +7 lines, -21 lines 0 comments Download
M vm/intermediate_language_x64.cc View 1 chunk +7 lines, -21 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Florian Schneider
8 years, 4 months ago (2012-08-06 10:04:41 UTC) #1
Vyacheslav Egorov (Google)
lgtm
8 years, 4 months ago (2012-08-06 10:36:06 UTC) #2
srdjan
https://chromiumcodereview.appspot.com/10831176/diff/1/vm/intermediate_language.h File vm/intermediate_language.h (right): https://chromiumcodereview.appspot.com/10831176/diff/1/vm/intermediate_language.h#newcode1196 vm/intermediate_language.h:1196: #endif This CL causes crashes as element_type is never ...
8 years, 4 months ago (2012-08-06 16:31:25 UTC) #3
Florian Schneider
8 years, 4 months ago (2012-08-07 08:56:18 UTC) #4
https://chromiumcodereview.appspot.com/10831176/diff/1/vm/intermediate_langua...
File vm/intermediate_language.h (right):

https://chromiumcodereview.appspot.com/10831176/diff/1/vm/intermediate_langua...
vm/intermediate_language.h:1196: #endif
On 2012/08/06 16:31:25, srdjan wrote:
> This CL causes crashes as element_type is never set

Oh, thanks. It worked because elements_type_ seems to be used only in
IL-printing. I have a CL that fixes this instruction (i.e. makes it a
TemplateComputation again, but make sure it is handled as a call so that SSA
code generation supports it)

Powered by Google App Engine
This is Rietveld 408576698