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

Issue 14846017: Becuase of cross-context calls, hydrogen-based Array constructor needs to ensure (Closed)

Created:
7 years, 7 months ago by mvstanton
Modified:
7 years, 7 months ago
Reviewers:
Toon Verwaest, danno
CC:
v8-dev
Visibility:
Public.

Description

Becuase of cross-context calls, hydrogen-based Array constructor needs to ensure the array constructor pointer passed in matches that of the current context. BUG= R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=14581

Patch Set 1 #

Patch Set 2 : Ports, and turned off flag #

Total comments: 10

Patch Set 3 : Addressed comments #

Patch Set 4 : Improved test found a deopt issue #

Patch Set 5 : Enable optimize_constructed_arrays #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -81 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 2 chunks +5 lines, -10 lines 0 comments Download
M src/builtins.cc View 1 2 1 chunk +37 lines, -34 lines 0 comments Download
M src/code-stubs.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 4 chunks +30 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/heap.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/hydrogen.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 3 chunks +23 lines, -11 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 2 chunks +5 lines, -11 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 2 chunks +5 lines, -10 lines 0 comments Download
M test/mjsunit/allocation-site-info.js View 1 2 3 4 2 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
mvstanton
Hi Danno, here is the fix for the cross-context issue we discussed. Thanks for the ...
7 years, 7 months ago (2013-05-07 09:51:11 UTC) #1
mvstanton
Giving to Toon...
7 years, 7 months ago (2013-05-07 10:30:16 UTC) #2
Toon Verwaest
Looking good. First round of comments. https://codereview.chromium.org/14846017/diff/2001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/14846017/diff/2001/src/builtins.cc#newcode235 src/builtins.cc:235: ASSERT(constructor->initial_map()->elements_kind() == kind); ...
7 years, 7 months ago (2013-05-07 11:02:06 UTC) #3
mvstanton
Thanks Toon, the test suggestion helped me find a redundant HCheckFunction in the optimized case! ...
7 years, 7 months ago (2013-05-07 12:40:50 UTC) #4
Toon Verwaest
lgtm
7 years, 7 months ago (2013-05-07 19:13:55 UTC) #5
mvstanton
7 years, 7 months ago (2013-05-07 21:02:05 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r14581 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698