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

Issue 573009: Change LoadIC interface on ia32 to take arguments in registers. (Closed)

Created:
10 years, 10 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Change LoadIC interface on ia32 to take arguments in registers. Committed: http://code.google.com/p/v8/source/detail?r=3841

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 13

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -76 lines) Patch
M src/full-codegen.cc View 2 1 chunk +7 lines, -1 line 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 9 chunks +18 lines, -11 lines 0 comments Download
M src/ia32/debug-ia32.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 5 chunks +11 lines, -10 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 2 3 4 11 chunks +31 lines, -32 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 6 chunks +10 lines, -16 lines 0 comments Download
M src/ia32/virtual-frame-ia32.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/virtual-frame-ia32.cc View 1 2 1 chunk +19 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
10 years, 10 months ago (2010-02-04 15:51:36 UTC) #1
Kevin Millikin (Chromium)
LGTM. http://codereview.chromium.org/573009/diff/15/26 File src/arm/stub-cache-arm.cc (right): http://codereview.chromium.org/573009/diff/15/26#newcode219 src/arm/stub-cache-arm.cc:219: Register receiver, Fix indentation here. http://codereview.chromium.org/573009/diff/15/29 File src/full-codegen.cc ...
10 years, 10 months ago (2010-02-05 09:02:33 UTC) #2
William Hesse
10 years, 10 months ago (2010-02-12 10:21:39 UTC) #3
All changes made, except the cleanup of EmitNamedPropertyLoad in the full code
generator.

http://codereview.chromium.org/573009/diff/15/29
File src/full-codegen.cc (right):

http://codereview.chromium.org/573009/diff/15/29#newcode1055
src/full-codegen.cc:1055: VisitForValue(prop->obj(), kAccumulator);
On 2010/02/05 09:02:33, Kevin Millikin wrote:
> This needs a comment that you are copying the temporary (the object) with one
> copy allocated to the accumulator and one to the stack.

Done.

http://codereview.chromium.org/573009/diff/15/29#newcode1078
src/full-codegen.cc:1078: EmitNamedPropertyLoad(prop);
On 2010/02/05 09:02:33, Kevin Millikin wrote:
> As a simple cleanup in another change, could you make
> EmitNamedPropertyLoad/EmitKeyedPropertyLoad use the expression context to
> determine what to do with their result?

Will do later.

http://codereview.chromium.org/573009/diff/15/18
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/573009/diff/15/18#newcode6593
src/ia32/codegen-ia32.cc:6593: if (persist_after_get_) {
On 2010/02/05 09:02:33, Kevin Millikin wrote:
> Since this code and the corresponding !persist_after_get_ bracket the load in
> both arms of the if, I think it's more obvious to have it outside the if.

Done.

http://codereview.chromium.org/573009/diff/15/17
File src/ia32/full-codegen-ia32.cc (right):

http://codereview.chromium.org/573009/diff/15/17#newcode1567
src/ia32/full-codegen-ia32.cc:1567: VisitForValue(prop->obj(), kAccumulator);
On 2010/02/05 09:02:33, Kevin Millikin wrote:
> Add a simple comment that you are copying the value, one copy in the
accumulator
> and one on the stack.

Done.

http://codereview.chromium.org/573009/diff/15/23
File src/ia32/ic-ia32.cc (right):

http://codereview.chromium.org/573009/diff/15/23#newcode1231
src/ia32/ic-ia32.cc:1231: void LoadIC::Generate(MacroAssembler* masm, const
ExternalReference& f) {
On 2010/02/05 09:02:33, Kevin Millikin wrote:
> As with the store ICs, I think you can rename Generate ==> GenerateMiss and
> remove the extra argument.

Done.

http://codereview.chromium.org/573009/diff/15/19
File src/ia32/stub-cache-ia32.cc (right):

http://codereview.chromium.org/573009/diff/15/19#newcode721
src/ia32/stub-cache-ia32.cc:721: // Return the register containing the holder.
On 2010/02/05 09:02:33, Kevin Millikin wrote:
> containing ==> containin'

Done.

Powered by Google App Engine
This is Rietveld 408576698