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

Issue 19367003: Reland "Turn ElementsTransitionAndStore stub into a HydrogenCodeStub". (Closed)

Created:
7 years, 5 months ago by Benedikt Meurer
Modified:
7 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Reland "Turn ElementsTransitionAndStore stub into a HydrogenCodeStub". Fix the invalid array length check, replacing it with a check of the elements pointer similar to TransitionElementsKindStub. Refactor common code from ElementsTransitionAndStoreStub and TransitionElementsKindStub into BuildTransitionElementsKind() helper method. Add test case for the MD5 computation that used to crash before, and a small test case for the specific issue. R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15713

Patch Set 1 #

Patch Set 2 : REBASE #

Patch Set 3 : Use Hydrogen stub if compiled transitions is enabled. #

Patch Set 4 : Add test case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -47 lines) Patch
M src/arm/code-stubs-arm.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 2 chunks +51 lines, -5 lines 0 comments Download
M src/code-stubs.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 chunks +41 lines, -35 lines 0 comments Download
M src/hydrogen.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 1 chunk +42 lines, -0 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/ic.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ic.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/stub-cache.cc View 1 2 1 chunk +15 lines, -6 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 chunk +11 lines, -0 lines 0 comments Download
A test/mjsunit/elements-transition-and-store.js View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A test/mjsunit/md5.js View 1 2 3 1 chunk +211 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Benedikt Meurer
Attempt to reland the ElementsTransitionAndStoreStub rewrite. PTAL
7 years, 5 months ago (2013-07-17 09:04:10 UTC) #1
danno
This form of the patch doesn't give us an option of "going back" without reverting ...
7 years, 5 months ago (2013-07-17 09:07:16 UTC) #2
Toon Verwaest
As discussed, please add a specific unit test as well.
7 years, 5 months ago (2013-07-17 09:09:06 UTC) #3
Benedikt Meurer
On 2013/07/17 09:07:16, danno wrote: > This form of the patch doesn't give us an ...
7 years, 5 months ago (2013-07-17 09:32:32 UTC) #4
danno
lgtm
7 years, 5 months ago (2013-07-17 11:31:07 UTC) #5
Benedikt Meurer
On 2013/07/17 09:09:06, Toon Verwaest wrote: > As discussed, please add a specific unit test ...
7 years, 5 months ago (2013-07-17 11:35:13 UTC) #6
Benedikt Meurer
7 years, 5 months ago (2013-07-17 11:37:30 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r15713 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698