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

Issue 4004006: Fix a bug that prevents constants from overwriting function values in object ... (Closed)

Created:
10 years, 1 month ago by Karl Klose
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix a bug that prevents constants from overwriting function values in object literals. BUG=http://code.google.com/p/v8/issues/detail?id=907 Committed: http://code.google.com/p/v8/source/detail?r=5718

Patch Set 1 #

Total comments: 40

Patch Set 2 : '' #

Total comments: 17

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -38 lines) Patch
M src/arm/codegen-arm.cc View 1 2 3 3 chunks +20 lines, -6 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 4 3 chunks +14 lines, -3 lines 0 comments Download
M src/ast.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M src/ast.cc View 1 2 3 4 5 6 3 chunks +74 lines, -0 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 3 2 chunks +26 lines, -13 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 5 6 4 chunks +14 lines, -4 lines 1 comment Download
M src/x64/codegen-x64.cc View 1 2 3 4 5 6 3 chunks +22 lines, -9 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 5 6 3 chunks +14 lines, -3 lines 0 comments Download
A test/mjsunit/object-literal-conversions.js View 1 1 chunk +46 lines, -0 lines 0 comments Download
A test/mjsunit/object-literal-overwrite.js View 1 1 chunk +118 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Karl Klose
10 years, 1 month ago (2010-10-25 16:15:29 UTC) #1
Mads Ager (chromium)
http://codereview.chromium.org/4004006/diff/1/6 File src/codegen.cc (right): http://codereview.chromium.org/4004006/diff/1/6#newcode72 src/codegen.cc:72: } else if (h1->IsHeapNumber() && h2->IsHeapNumber()) { HeapNumbers should ...
10 years, 1 month ago (2010-10-26 08:54:17 UTC) #2
Kevin Millikin (Chromium)
http://codereview.chromium.org/4004006/diff/1/2 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/4004006/diff/1/2#newcode48 src/arm/codegen-arm.cc:48: #include "codegen.h" We usually alphabetize includes. Sometimes it hides ...
10 years, 1 month ago (2010-10-26 09:14:59 UTC) #3
Karl Klose
http://codereview.chromium.org/4004006/diff/1/2 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/4004006/diff/1/2#newcode48 src/arm/codegen-arm.cc:48: #include "codegen.h" On 2010/10/26 09:14:59, Kevin Millikin wrote: > ...
10 years, 1 month ago (2010-10-26 11:51:54 UTC) #4
Kevin Millikin (Chromium)
A couple more drive-bys, they apply to the other platforms as well. http://codereview.chromium.org/4004006/diff/18001/19001 File src/arm/codegen-arm.cc ...
10 years, 1 month ago (2010-10-26 12:31:18 UTC) #5
Mads Ager (chromium)
This is definitely getting there. One more iteration and I think it's ready. :) http://codereview.chromium.org/4004006/diff/18001/19002 ...
10 years, 1 month ago (2010-10-26 13:53:54 UTC) #6
Karl Klose
http://codereview.chromium.org/4004006/diff/18001/19001 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/4004006/diff/18001/19001#newcode3640 src/arm/codegen-arm.cc:3640: frame_->Pop(); On 2010/10/26 12:31:18, Kevin Millikin wrote: > There ...
10 years, 1 month ago (2010-10-26 13:55:34 UTC) #7
Mads Ager (chromium)
10 years, 1 month ago (2010-10-27 09:28:53 UTC) #8
LGTM

Could you remove the parenthesis around the BUG= line in the description before
committing and maybe add a newline between the description and the BUG= line?

http://codereview.chromium.org/4004006/diff/50003/64006
File src/ia32/full-codegen-ia32.cc (left):

http://codereview.chromium.org/4004006/diff/50003/64006#oldcode1186
src/ia32/full-codegen-ia32.cc:1186: 
Please add back this line.

Powered by Google App Engine
This is Rietveld 408576698