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

Issue 165129: Added support for property loads to the CFG builder and fast-mode (Closed)

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

Description

Added support for property loads to the CFG builder and fast-mode compiler. Committed: http://code.google.com/p/v8/source/detail?r=2653

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -43 lines) Patch
M src/arm/cfg-arm.cc View 2 chunks +43 lines, -6 lines 0 comments Download
M src/cfg.h View 6 chunks +54 lines, -17 lines 2 comments Download
M src/cfg.cc View 4 chunks +55 lines, -5 lines 0 comments Download
M src/ia32/cfg-ia32.cc View 1 chunk +42 lines, -7 lines 0 comments Download
M src/x64/cfg-x64.cc View 2 chunks +43 lines, -8 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
Issues to be addressed in the future: 1. It's clear that much of the graph ...
11 years, 4 months ago (2009-08-07 12:02:00 UTC) #1
William Hesse
LGTM. http://codereview.chromium.org/165129/diff/1/2 File src/cfg.h (right): http://codereview.chromium.org/165129/diff/1/2#newcode422 Line 422: // Load a property from a receiver, ...
11 years, 4 months ago (2009-08-07 12:50:26 UTC) #2
Kevin Millikin (Chromium)
11 years, 4 months ago (2009-08-07 13:25:33 UTC) #3
http://codereview.chromium.org/165129/diff/1/2
File src/cfg.h (right):

http://codereview.chromium.org/165129/diff/1/2#newcode422
Line 422: // Load a property from a receiver, leaving the result in a location.
On 2009/08/07 12:50:26, William Hesse wrote:
> I like PropertyLoad better.  A PropertyRef to me means the EcmaScript standard
> Reference internal type.
> 

Going with PropLoad.

http://codereview.chromium.org/165129/diff/1/5
File src/x64/cfg-x64.cc (right):

http://codereview.chromium.org/165129/diff/1/5#newcode151
Line 151: __ pop(kScratchRegister);  // Discard key.
On 2009/08/07 12:50:26, William Hesse wrote:
> If you don't care what you pop to, popping to a legacy register is shorter
than
> popping to kScratchRegister (r10),
> because pops are 64-bit by default, so you don't need a REX prefix except to
> address a new register.

Thanks for the tip, using rbx.

Powered by Google App Engine
This is Rietveld 408576698