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

Issue 21123008: Introduce StackArgumentsAccessor class for X64 (Closed)

Created:
7 years, 4 months ago by haitao.feng
Modified:
7 years, 3 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Introduce StackArgumentsAccessor class for X64 R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16345

Patch Set 1 #

Total comments: 12

Patch Set 2 : Use interface StackOperandForReversedArgument #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Addressed danno's comments #

Total comments: 2

Patch Set 5 : Introduce StackArguments class #

Total comments: 17

Patch Set 6 : Addressed danno's comments #

Patch Set 7 : Move the StackArgumentsAccessor back into X64" #

Patch Set 8 : Addressed high-level feedback #

Patch Set 9 : Refined member name in the StackArgumentsAccessor class #

Patch Set 10 : Move the StackArgumentsAccessor to codegen-x64.[h|cc] #

Total comments: 8

Patch Set 11 : Addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -125 lines) Patch
M src/x64/builtins-x64.cc View 1 2 3 4 5 6 7 8 chunks +10 lines, -9 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 8 9 10 36 chunks +70 lines, -53 lines 0 comments Download
M src/x64/codegen-x64.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +67 lines, -0 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 2 3 4 5 6 7 8 9 1 chunk +22 lines, -0 lines 0 comments Download
M src/x64/ic-x64.cc View 1 2 3 4 5 6 7 7 chunks +12 lines, -11 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 3 4 5 6 7 29 chunks +55 lines, -52 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
haitao.feng
Migrated from https://codereview.chromium.org/19857006/ and rebased with master.
7 years, 4 months ago (2013-07-30 12:19:27 UTC) #1
haitao.feng
I choose the name StackOperandForArgument as both the "rsp + disp" and "rsp + index ...
7 years, 4 months ago (2013-07-31 00:24:50 UTC) #2
danno
https://codereview.chromium.org/21123008/diff/1/src/x64/builtins-x64.cc File src/x64/builtins-x64.cc (right): https://codereview.chromium.org/21123008/diff/1/src/x64/builtins-x64.cc#newcode841 src/x64/builtins-x64.cc:841: __ movq(rdi, StackOperandForArgument(rax, times_pointer_size, Does this ever no use ...
7 years, 4 months ago (2013-07-31 07:48:37 UTC) #3
haitao.feng
https://codereview.chromium.org/21123008/diff/1/src/x64/macro-assembler-x64.h File src/x64/macro-assembler-x64.h (right): https://codereview.chromium.org/21123008/diff/1/src/x64/macro-assembler-x64.h#newcode1525 src/x64/macro-assembler-x64.h:1525: return Operand(rsp, disp + kPCOnStackSize - kPointerSize); I have ...
7 years, 4 months ago (2013-07-31 09:25:20 UTC) #4
danno
Yes, this sounds fine. However, I still think in this case you will have to ...
7 years, 4 months ago (2013-07-31 09:30:55 UTC) #5
haitao.feng
Danno, thanks for the review. All comments are addressed. Please take another look. On 2013/07/31 ...
7 years, 4 months ago (2013-07-31 13:15:57 UTC) #6
danno
Thanks for the patch, this is close. I like the direction it's going. Just one ...
7 years, 4 months ago (2013-08-02 08:48:00 UTC) #7
haitao.feng
danno, thanks for the review. All comments addressed. https://codereview.chromium.org/21123008/diff/24001/src/x64/code-stubs-x64.cc File src/x64/code-stubs-x64.cc (right): https://codereview.chromium.org/21123008/diff/24001/src/x64/code-stubs-x64.cc#newcode6027 src/x64/code-stubs-x64.cc:6027: __ ...
7 years, 4 months ago (2013-08-02 15:04:58 UTC) #8
haitao.feng
danno, I am not satisfied with patch set 4 to address your comment for accessing ...
7 years, 4 months ago (2013-08-05 01:39:47 UTC) #9
danno
I generally like the direction this is going. However one high-level observation: now that you've ...
7 years, 4 months ago (2013-08-05 15:17:56 UTC) #10
haitao.feng
danno, thanks a lot for the review. I tried to add StackArgumentsAccessor in the code.h, ...
7 years, 4 months ago (2013-08-06 11:49:55 UTC) #11
haitao.feng
high-level feedback is also addressed. The class StackArgumentsAccessor is moved into code.h and a new ...
7 years, 4 months ago (2013-08-07 08:59:08 UTC) #12
danno
Thanks for the patch, I really like the direction that it's going and I think ...
7 years, 4 months ago (2013-08-07 19:19:06 UTC) #13
haitao.feng
danno, thanks for the review. I am glad you like this direction. The comment is ...
7 years, 4 months ago (2013-08-08 07:35:06 UTC) #14
danno
lgtm if you address the nits, but please wait to land until we've opened the ...
7 years, 4 months ago (2013-08-13 09:35:09 UTC) #15
haitao.feng
danno, thanks for the review. I will wait and commit this when the tree is ...
7 years, 4 months ago (2013-08-13 11:13:50 UTC) #16
haitao.feng
7 years, 3 months ago (2013-08-27 01:21:55 UTC) #17
Message was sent while issue was closed.
Committed patchset #11 manually as r16345 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698