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

Issue 6542011: X64 Crankshaft: Implement LValueOf and (dummy) LArgumentsObject. (Closed)

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

Description

X64 Crankshaft: Implement LValueOf and (dummy) LArgumentsObject. Committed: http://code.google.com/p/v8/source/detail?r=6850

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -11 lines) Patch
M src/arm/lithium-arm.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 chunk +4 lines, -2 lines 2 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +13 lines, -1 line 0 comments Download
M src/x64/lithium-x64.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
9 years, 10 months ago (2011-02-18 10:31:08 UTC) #1
Lasse Reichstein
LGTM http://codereview.chromium.org/6542011/diff/4002/src/ia32/lithium-ia32.cc File src/ia32/lithium-ia32.cc (right): http://codereview.chromium.org/6542011/diff/4002/src/ia32/lithium-ia32.cc#newcode1981 src/ia32/lithium-ia32.cc:1981: return NULL; What is the "value" that is ...
9 years, 10 months ago (2011-02-18 11:50:55 UTC) #2
William Hesse
9 years, 10 months ago (2011-02-18 12:06:21 UTC) #3
http://codereview.chromium.org/6542011/diff/4002/src/ia32/lithium-ia32.cc
File src/ia32/lithium-ia32.cc (right):

http://codereview.chromium.org/6542011/diff/4002/src/ia32/lithium-ia32.cc#new...
src/ia32/lithium-ia32.cc:1981: return NULL;
A HValue, HArgumentsObject is created to represent the arguments object.  Once
we figure it out, we will use this object.  Currently, we don't compile any uses
of it in Crankshaft, so the HValue turns into zero lithium instructions.  The
way to create zero lithium instructions for an HValue is to return null from
DoH...().
In the long run, this should be implemented or HArgumentsObject should be
removed.


On 2011/02/18 11:50:55, Lasse Reichstein wrote:
> What is the "value" that is never used?
> Is this function never called, or is its return value never used (and if so,
how
> do we know that)?
> If it's never called, it should either assert that, or do a bailout if it ever
> got called anyway.
> If the return value isn't used, why are we calling the function?

Powered by Google App Engine
This is Rietveld 408576698