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

Issue 10538002: Skip canonicalization of packed arrays in HStoreKeyedFastDoubleElement (Closed)

Created:
8 years, 6 months ago by danno
Modified:
8 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Skip canonicalization of packed arrays in HStoreKeyedFastDoubleElement R=jkummerow@chromium.org

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -9 lines) Patch
M src/hydrogen.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M src/hydrogen-instructions.h View 3 chunks +13 lines, -5 lines 3 comments Download
M src/hydrogen-instructions.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
danno
8 years, 6 months ago (2012-06-05 08:17:47 UTC) #1
Jakob Kummerow
High-level comment: As discussed offline, this approach doesn't work for all cases. Example: assume some ...
8 years, 6 months ago (2012-06-05 09:05:40 UTC) #2
Vyacheslav Egorov (Google)
https://chromiumcodereview.appspot.com/10538002/diff/1/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://chromiumcodereview.appspot.com/10538002/diff/1/src/hydrogen-instructions.h#newcode4350 src/hydrogen-instructions.h:4350: class SkipCanonicalization: public BitField<bool, 1, 2> {}; why not ...
8 years, 6 months ago (2012-06-05 09:13:24 UTC) #3
danno
8 years, 6 months ago (2012-06-05 11:19:01 UTC) #4
On 2012/06/05 09:13:24, Vyacheslav Egorov (Google) wrote:
>
https://chromiumcodereview.appspot.com/10538002/diff/1/src/hydrogen-instructi...
> File src/hydrogen-instructions.h (right):
> 
>
https://chromiumcodereview.appspot.com/10538002/diff/1/src/hydrogen-instructi...
> src/hydrogen-instructions.h:4350: class SkipCanonicalization:  public
> BitField<bool, 1, 2> {};
> why not 
> 
> bool is_dehoisted_ : 1;
> bool skip_canonicalization_ : 1;
> 
> ?

I personally have no preference and considered doing this initially, but
elsewhere in the code and in this file (CompareStub) we use BitField for boolean
(I see no bool x : 1s), so I favored consistency.

Powered by Google App Engine
This is Rietveld 408576698