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

Issue 7471034: Fix deopts caused by misplaced COW checks. (Closed)

Created:
9 years, 5 months ago by Jakob Kummerow
Modified:
9 years, 5 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Fix deopts caused by misplaced COW checks. TEST=Performance of pixel-array-blur back to normal. Committed: http://code.google.com/p/v8/source/detail?r=8709

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M src/hydrogen.cc View 2 chunks +3 lines, -2 lines 2 comments Download
M src/hydrogen-instructions.h View 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Jakob Kummerow
PTAL.
9 years, 5 months ago (2011-07-21 11:16:38 UTC) #1
danno
LGTM if you make the gating check for fast elements the same in the polymorphic ...
9 years, 5 months ago (2011-07-21 11:44:02 UTC) #2
Jakob Kummerow
9 years, 5 months ago (2011-07-21 12:01:32 UTC) #3
Thanks, landing.

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

http://codereview.chromium.org/7471034/diff/1/src/hydrogen.cc#newcode4025
src/hydrogen.cc:4025: if (is_store && !fast_double_elements) {
On 2011/07/21 11:44:02, danno wrote:
> Should also be map->has_fast_elements()

Except that we don't have an object called |map| at this point. I've changed it
to "elements_kind == JSObject::FAST_ELEMENTS" instead.

Powered by Google App Engine
This is Rietveld 408576698