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

Issue 19622: Remove spills from most inlined runtime calls. (Closed)

Created:
11 years, 11 months ago by William Hesse
Modified:
8 years, 7 months ago
Visibility:
Public.

Description

Remove spills from most inlined runtime calls. Committed: http://code.google.com/p/v8/source/detail?r=1182

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -50 lines) Patch
M src/codegen-ia32.cc View 1 7 chunks +71 lines, -50 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
William Hesse
This change is independent of the change to CallCodeObject.
11 years, 11 months ago (2009-01-28 12:18:10 UTC) #1
William Hesse
This change is independent of the change to CallCodeObject.
11 years, 11 months ago (2009-01-28 12:18:35 UTC) #2
Kevin Millikin (Chromium)
This LGTM, but I think you should get rid of the drop/push sequence in a ...
11 years, 10 months ago (2009-01-29 09:42:36 UTC) #3
William Hesse
8 years, 7 months ago (2012-05-07 09:36:09 UTC) #4
http://codereview.chromium.org/19622/diff/1/src/codegen-ia32.cc
File src/codegen-ia32.cc (right):

http://codereview.chromium.org/19622/diff/1/src/codegen-ia32.cc#newcode3620
src/codegen-ia32.cc:3620: // Seed the result with the formal parameters count,
which will be
On 2009/01/29 09:42:36, Kevin Millikin wrote:
> I would reword this comment to be more explicit.  The real point is that the
> (read length version of the) arguments access stub takes the parameter count
as
> an argument passed in eax.

Done.

http://codereview.chromium.org/19622/diff/1/src/codegen-ia32.cc#newcode3657
src/codegen-ia32.cc:3657: frame_->Push(&temp);
On 2009/01/29 09:42:36, Kevin Millikin wrote:
> Can we avoid the drop/push sequence here by setting the top element?

Done.

http://codereview.chromium.org/19622/diff/1/src/codegen-ia32.cc#newcode3705
src/codegen-ia32.cc:3705: frame_->Drop();
On 2009/01/29 09:42:36, Kevin Millikin wrote:
> Can we avoid the drop/push sequence here by setting the top element?

Done.

http://codereview.chromium.org/19622/diff/1/src/codegen-ia32.cc#newcode3719
src/codegen-ia32.cc:3719: left.ToRegister();
On 2009/01/29 09:42:36, Kevin Millikin wrote:
> I would rather not move left to a register, but generate a difference cmp
> instruction in the case it's a constant.

What if right is a constant?  Let's do this when we start handling constants
differently.

Powered by Google App Engine
This is Rietveld 408576698