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

Issue 19464002: Replaces Location::ToStackSlotAddress() with Location::ToStackSlotOffset() (Closed)

Created:
7 years, 5 months ago by zra
Modified:
7 years, 5 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Replaces Location::ToStackSlotAddress() with Location::ToStackSlotOffset() This way, Location no longer mentions the architecture specific Address class. R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=25122

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -144 lines) Patch
M runtime/vm/assembler_arm.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M runtime/vm/assembler_ia32.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler_mips.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 11 chunks +65 lines, -46 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 4 chunks +15 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 3 10 chunks +84 lines, -73 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 4 chunks +15 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/locations.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/locations.cc View 1 2 2 chunks +12 lines, -2 lines 1 comment Download

Messages

Total messages: 10 (0 generated)
zra
7 years, 5 months ago (2013-07-17 00:22:02 UTC) #1
Florian Schneider
On 2013/07/17 00:22:02, zra wrote: DBC: Why is this refactoring necessary? I find it more ...
7 years, 5 months ago (2013-07-17 07:58:01 UTC) #2
zra
On 2013/07/17 07:58:01, Florian Schneider wrote: > On 2013/07/17 00:22:02, zra wrote: > > DBC: ...
7 years, 5 months ago (2013-07-17 15:28:13 UTC) #3
srdjan
DBC https://codereview.chromium.org/19464002/diff/11001/runtime/vm/assembler_arm.h File runtime/vm/assembler_arm.h (right): https://codereview.chromium.org/19464002/diff/11001/runtime/vm/assembler_arm.h#newcode15 runtime/vm/assembler_arm.h:15: #include "vm/locations.h" I do not think that assembler ...
7 years, 5 months ago (2013-07-17 16:13:04 UTC) #4
regis
Zach, Thanks for addressing [sic] my todo of removing all occurences of Address in the ...
7 years, 5 months ago (2013-07-17 16:35:18 UTC) #5
zra
I've applied the suggestions from Regis. Please have another look.
7 years, 5 months ago (2013-07-17 18:30:45 UTC) #6
regis
LGTM https://codereview.chromium.org/19464002/diff/20001/runtime/vm/flow_graph_compiler_arm.cc File runtime/vm/flow_graph_compiler_arm.cc (right): https://codereview.chromium.org/19464002/diff/20001/runtime/vm/flow_graph_compiler_arm.cc#newcode740 runtime/vm/flow_graph_compiler_arm.cc:740: // Address::Equals() on ARM/MIPS. I think you can ...
7 years, 5 months ago (2013-07-17 18:46:45 UTC) #7
zra
Thanks! https://codereview.chromium.org/19464002/diff/20001/runtime/vm/flow_graph_compiler_arm.cc File runtime/vm/flow_graph_compiler_arm.cc (right): https://codereview.chromium.org/19464002/diff/20001/runtime/vm/flow_graph_compiler_arm.cc#newcode740 runtime/vm/flow_graph_compiler_arm.cc:740: // Address::Equals() on ARM/MIPS. On 2013/07/17 18:46:45, regis ...
7 years, 5 months ago (2013-07-17 20:40:11 UTC) #8
zra
Committed patchset #4 manually as r25122 (presubmit successful).
7 years, 5 months ago (2013-07-17 20:54:42 UTC) #9
Florian Schneider
7 years, 5 months ago (2013-07-18 10:39:25 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/19464002/diff/33001/runtime/vm/locations.cc
File runtime/vm/locations.cc (right):

https://codereview.chromium.org/19464002/diff/33001/runtime/vm/locations.cc#n...
runtime/vm/locations.cc:90: Address Location::ToStackSlotAddress() const {
return Address(FPREG, ToStackSlotOffset());

Powered by Google App Engine
This is Rietveld 408576698