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

Issue 141031: Fix issue 386, a bug in JSObject::ReplaceSlowProperty with constant transitio... (Closed)

Created:
11 years, 6 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix issue 386, a bug in JSObject::ReplaceSlowProperty with constant transitions. Committed: http://code.google.com/p/v8/source/detail?r=2228

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -7 lines) Patch
M src/objects.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 1 1 chunk +10 lines, -7 lines 0 comments Download
A test/mjsunit/regress/regress-386.js View 1 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
William Hesse
Two issues with this fix: 1) The bug is only reproducible with the submitted reduction. ...
11 years, 6 months ago (2009-06-21 13:00:39 UTC) #1
Mads Ager (chromium)
11 years, 6 months ago (2009-06-22 07:01:00 UTC) #2
LGTM

http://codereview.chromium.org/141031/diff/1/2
File test/mjsunit/regress/regress-386.js (right):

http://codereview.chromium.org/141031/diff/1/2#newcode39
Line 39: c={ c1 : false, c2 : false, c3 : false, c4 : false, c5 : false };
We can do something simpler than this.  We hit your new assert with something
like:

function A() {
  for (var i = 0; i < 13; i++) {
    this['a' + i] = i;
  }
  this.i = function(){};
};

new A();
new A();

Powered by Google App Engine
This is Rietveld 408576698