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

Issue 7929001: Initialize pre-allocated fields of JSObject with undefined. (Closed)

Created:
9 years, 3 months ago by Yang
Modified:
9 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Initialize pre-allocated fields of JSObject with undefined. BUG=94873 Committed: http://code.google.com/p/v8/source/detail?r=9335

Patch Set 1 #

Total comments: 2

Patch Set 2 : Implemented suggestions. #

Total comments: 1

Patch Set 3 : Added ARM port. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -50 lines) Patch
M src/arm/builtins-arm.cc View 1 2 1 chunk +13 lines, -12 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M src/heap.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 1 chunk +15 lines, -14 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 1 chunk +8 lines, -5 lines 0 comments Download
M src/objects-inl.h View 1 chunk +20 lines, -4 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 1 chunk +15 lines, -14 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-94873.js View 1 2 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yang
Fixed this issue for ia32 and x64 for now. Arm will follow in a second ...
9 years, 3 months ago (2011-09-16 13:41:05 UTC) #1
Vyacheslav Egorov (Chromium)
I think you can create a test case if you'll use JavaScript debugger API (--expose-debug-as) ...
9 years, 3 months ago (2011-09-16 15:33:05 UTC) #2
Vyacheslav Egorov (Chromium)
> Call function twice with esi then with edx. Should read: Call function twice with ...
9 years, 3 months ago (2011-09-16 15:33:59 UTC) #3
Yang
Changed according to suggestions. I tried to write a test case with --expose-debug-as, breaking inside ...
9 years, 3 months ago (2011-09-19 10:46:51 UTC) #4
Vyacheslav Egorov (Chromium)
lgtm Please don't commit without testcase I've sent you one, please verify that your CL ...
9 years, 3 months ago (2011-09-19 11:30:39 UTC) #5
Yang
Added test case (it passes now) and ARM port, fixed one copy&paste bug in ia32. ...
9 years, 3 months ago (2011-09-19 13:20:51 UTC) #6
Vyacheslav Egorov (Chromium)
9 years, 3 months ago (2011-09-20 09:28:31 UTC) #7
LGTM!

Powered by Google App Engine
This is Rietveld 408576698