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

Issue 17615: Experimental: use register allocation in the code for keyed property (Closed)

Created:
11 years, 11 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Experimental: use register allocation in the code for keyed property loads. Committed: http://code.google.com/p/v8/source/detail?r=1058

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -53 lines) Patch
M src/codegen-ia32.cc View 1 2 9 chunks +90 lines, -46 lines 4 comments Download
M src/register-allocator-ia32.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/virtual-frame-ia32.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/virtual-frame-ia32.cc View 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Kevin Millikin (Chromium)
11 years, 11 months ago (2009-01-12 18:56:37 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/17615/diff/206/210 File src/codegen-ia32.cc (right): http://codereview.chromium.org/17615/diff/206/210#newcode4580 Line 4580: // reuse the index or elements register ...
11 years, 11 months ago (2009-01-13 07:09:09 UTC) #2
William Hesse
LGTM http://codereview.chromium.org/17615/diff/206/210 File src/codegen-ia32.cc (right): http://codereview.chromium.org/17615/diff/206/210#newcode4581 Line 4581: Result value = index; I see that ...
11 years, 11 months ago (2009-01-13 08:41:09 UTC) #3
Kevin Millikin (Chromium)
http://codereview.chromium.org/17615/diff/206/210 File src/codegen-ia32.cc (right): http://codereview.chromium.org/17615/diff/206/210#newcode4580 Line 4580: // reuse the index or elements register for ...
11 years, 11 months ago (2009-01-13 08:44:20 UTC) #4
Kevin Millikin (Chromium)
11 years, 11 months ago (2009-01-13 08:56:35 UTC) #5
http://codereview.chromium.org/17615/diff/206/210
File src/codegen-ia32.cc (right):

http://codereview.chromium.org/17615/diff/206/210#newcode4581
Line 4581: Result value = index;
On 2009/01/13 08:41:10, William Hesse wrote:
> I see that assignment of Results does not invalidate the RHS.  If we ever
change
> that, the following use of index will become invalid.  Does the assembler
catch
> that?

I'm not sure we will want to change it---copy constructing a  result creates an
alias and that's probably how we want it.

There is an assertion in Result::reg() that will catch it in debug builds.

Powered by Google App Engine
This is Rietveld 408576698