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

Issue 10805053: Add spill slot locations. (Closed)

Created:
8 years, 5 months ago by Vyacheslav Egorov (Google)
Modified:
8 years, 5 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add spill slot locations. Committed: https://code.google.com/p/dart/source/detail?r=9810

Patch Set 1 #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -21 lines) Patch
M runtime/vm/assembler_x64.h View 3 chunks +21 lines, -0 lines 1 comment Download
M runtime/vm/assembler_x64.cc View 2 chunks +14 lines, -0 lines 1 comment Download
M runtime/vm/flow_graph_compiler_ia32.cc View 2 chunks +67 lines, -5 lines 4 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 2 chunks +39 lines, -5 lines 0 comments Download
M runtime/vm/il_printer.cc View 2 chunks +6 lines, -2 lines 2 comments Download
M runtime/vm/locations.h View 4 chunks +29 lines, -6 lines 6 comments Download
M runtime/vm/locations.cc View 3 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vyacheslav Egorov (Google)
[this is piece of register allocation infrastructure http://codereview.chromium.org/10800037]
8 years, 5 months ago (2012-07-23 11:49:29 UTC) #1
Kevin Millikin (Google)
LGTM. https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/flow_graph_compiler_ia32.cc File runtime/vm/flow_graph_compiler_ia32.cc (right): https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/flow_graph_compiler_ia32.cc#newcode1188 runtime/vm/flow_graph_compiler_ia32.cc:1188: __ movl(EAX, ToAddress(source)); This code would be much ...
8 years, 5 months ago (2012-07-23 12:52:30 UTC) #2
Vyacheslav Egorov (Google)
Thanks for the review. Landing. https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/flow_graph_compiler_ia32.cc File runtime/vm/flow_graph_compiler_ia32.cc (right): https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/flow_graph_compiler_ia32.cc#newcode1188 runtime/vm/flow_graph_compiler_ia32.cc:1188: __ movl(EAX, ToAddress(source)); On ...
8 years, 5 months ago (2012-07-23 14:06:10 UTC) #3
srdjan
8 years, 5 months ago (2012-07-23 16:18:59 UTC) #4
LGTM
The comments are just for information, I will address/implement them in a next
CL.

https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/assembler_x...
File runtime/vm/assembler_x64.cc (right):

https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/assembler_x...
runtime/vm/assembler_x64.cc:1514: movq(dst, TMP);
The code can be better for Smi.

https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/assembler_x...
File runtime/vm/assembler_x64.h (right):

https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/assembler_x...
runtime/vm/assembler_x64.h:392: void xorq(const Address& dst, Register src);
New assembly functions need test.

https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/flow_graph_...
File runtime/vm/flow_graph_compiler_ia32.cc (right):

https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/flow_graph_...
runtime/vm/flow_graph_compiler_ia32.cc:1112: static Address ToAddress(Location
loc) {
The name is to generic: s/ToAddress/ToSpillAddress/

https://chromiumcodereview.appspot.com/10805053/diff/1/runtime/vm/flow_graph_...
runtime/vm/flow_graph_compiler_ia32.cc:1189: __ movl(ECX,
ToAddress(destination));
Please upload the latest CL once comments are addressed.

Powered by Google App Engine
This is Rietveld 408576698