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

Issue 10456012: Change three more instructions on x64 to use location-based codegen templates. (Closed)

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

Description

Change three more instructions on x64 to use location-based codegen templates. This is a straight-forward port of the existing templates. For the future we may consider refactoring those instructions to be like normal calls with arguments pushed on the stack explictly in the IL. Committed: https://code.google.com/p/dart/source/detail?r=8050

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -60 lines) Patch
M vm/flow_graph_compiler_x64.cc View 2 chunks +7 lines, -55 lines 0 comments Download
M vm/intermediate_language_x64.cc View 1 chunk +65 lines, -5 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Florian Schneider
8 years, 6 months ago (2012-05-29 10:23:40 UTC) #1
Vyacheslav Egorov (Google)
LGTM http://codereview.chromium.org/10456012/diff/1/vm/intermediate_language_x64.cc File vm/intermediate_language_x64.cc (right): http://codereview.chromium.org/10456012/diff/1/vm/intermediate_language_x64.cc#newcode384 vm/intermediate_language_x64.cc:384: Register receiver = locs()->in(0).reg(); please add TODO to ...
8 years, 6 months ago (2012-05-29 10:29:09 UTC) #2
Florian Schneider
Done. On 2012/05/29 10:29:09, Vyacheslav Egorov (Google) wrote: > LGTM > > http://codereview.chromium.org/10456012/diff/1/vm/intermediate_language_x64.cc > File ...
8 years, 6 months ago (2012-05-29 10:55:33 UTC) #3
srdjan
8 years, 6 months ago (2012-05-29 15:04:03 UTC) #4
http://codereview.chromium.org/10456012/diff/1/vm/intermediate_language_x64.cc
File vm/intermediate_language_x64.cc (right):

http://codereview.chromium.org/10456012/diff/1/vm/intermediate_language_x64.c...
vm/intermediate_language_x64.cc:387: Register result = locs()->out().reg();
We can simplify the code by using (if needed) the expression temporary across
the instance call. I will look into it today.

Powered by Google App Engine
This is Rietveld 408576698