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

Issue 10826028: Cleaned up Hydrogen function signatures related to property access. (Closed)

Created:
8 years, 5 months ago by Sven Panne
Modified:
8 years, 5 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Cleaned up Hydrogen function signatures related to property access. This is a refactoring-only CL and the first one in a series for enabling inlining of accessors. The naming and argument order has been unified a bit, and some tests have been pushed to the caller in order to get a simpler signature. Note that the latter temporarily introduces some code redundancy, but this will be cleaned up in one of the next CLs. Committed: https://code.google.com/p/v8/source/detail?r=12198

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -92 lines) Patch
M src/hydrogen.h View 2 chunks +14 lines, -16 lines 0 comments Download
M src/hydrogen.cc View 1 13 chunks +78 lines, -76 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Sven Panne
8 years, 5 months ago (2012-07-26 08:21:56 UTC) #1
Michael Starzinger
LGTM (with one nit). http://codereview.chromium.org/10826028/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/10826028/diff/1/src/hydrogen.cc#newcode4768 src/hydrogen.cc:4768: Handle<String>::cast(property->key()->handle()); Consider using property->key()->AsPropertyName() here. ...
8 years, 5 months ago (2012-07-26 08:36:29 UTC) #2
Sven Panne
8 years, 5 months ago (2012-07-26 08:50:09 UTC) #3
Landing...

http://codereview.chromium.org/10826028/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):

http://codereview.chromium.org/10826028/diff/1/src/hydrogen.cc#newcode4768
src/hydrogen.cc:4768: Handle<String>::cast(property->key()->handle());
On 2012/07/26 08:36:29, Michael Starzinger wrote:
> Consider using property->key()->AsPropertyName() here.

Good point, it seems that I start getting lost in our impressive casting
machinery... :-P

Powered by Google App Engine
This is Rietveld 408576698