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

Issue 147205: X64 Implementation: Implement Generate_Function(Call,Apply) (Closed)

Created:
11 years, 6 months ago by William Hesse
Modified:
9 years, 7 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

X64 Implementation: Implement Generate_Function(Call,Apply) Committed: http://code.google.com/p/v8/source/detail?r=2287

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -13 lines) Patch
M src/objects-inl.h View 2 chunks +8 lines, -2 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 1 chunk +284 lines, -6 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 4 chunks +45 lines, -5 lines 0 comments Download
M src/x64/ic-x64.cc View 1 4 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
11 years, 6 months ago (2009-06-26 15:07:10 UTC) #1
Lasse Reichstein
LGTM http://codereview.chromium.org/147205/diff/1/2 File src/x64/builtins-x64.cc (right): http://codereview.chromium.org/147205/diff/1/2#newcode185 Line 185: // +1 ~ return address. Not understood. ...
11 years, 5 months ago (2009-06-29 06:52:34 UTC) #2
William Hesse
11 years, 5 months ago (2009-06-29 08:06:48 UTC) #3
Includes changelist from issue 151004 because 151004 was on a machine that
cannot commit. http://codereview.chromium.org/151004

http://codereview.chromium.org/147205/diff/1/2
File src/x64/builtins-x64.cc (right):

http://codereview.chromium.org/147205/diff/1/2#newcode185
Line 185: // +1 ~ return address.
On 2009/06/29 06:52:35, Lasse Reichstein wrote:
> Not understood. The +1 is added because of the return address?
> Make a constant and refer to the stack structure.

Done.

http://codereview.chromium.org/147205/diff/1/2#newcode316
Line 316: __ subq(rcx, Operand(kScratchRegister, 0));  // We need this number
below.
On 2009/06/29 06:52:35, Lasse Reichstein wrote:
> Make a comment that the value in "rcx" is reused later.

Done.

http://codereview.chromium.org/147205/diff/1/2#newcode316
Line 316: __ subq(rcx, Operand(kScratchRegister, 0));  // We need this number
below.
On 2009/06/29 06:52:35, Lasse Reichstein wrote:
> Reword comment. Not clear what "number" refers to, or what "need" means.
> After the subq, rcx contains the location of rsp relative to the stack guard
> limit. If the limit's above the stack pointer, we are have hit the limit and
> must take action.

Done.

http://codereview.chromium.org/147205/diff/1/2#newcode320
Line 320: // Because builtins always remove the receiver from the stack, we
On 2009/06/29 06:52:35, Lasse Reichstein wrote:
> It's a runtime function, not a builtin (well, not the way V8 usually uses
> "builtin")

Done.

http://codereview.chromium.org/147205/diff/1/2#newcode356
Line 356: __ movq(rdi, Operand(rbp, 4 * kPointerSize));
On 2009/06/29 06:52:35, Lasse Reichstein wrote:
> Could you add a telling name for rbp + 4 * kPointerSize, if one does not exist
> already.

Done.

http://codereview.chromium.org/147205/diff/1/2#newcode361
Line 361: __ movq(rbx, Operand(rbp, 3 * kPointerSize));
On 2009/06/29 06:52:35, Lasse Reichstein wrote:
> And for rbp + 3 * kPointerSize

Done.

Powered by Google App Engine
This is Rietveld 408576698