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

Issue 1949023003: [Interpreter] Fix incorrect frame walking in arguments create stubs (Closed)

Created:
4 years, 7 months ago by rmcilroy
Modified:
4 years, 7 months ago
Reviewers:
Benedikt Meurer
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Fix incorrect frame walking in arguments create stubs The previous approach taken by FastNew[Sloppy,Strict,Rest]ArgumentsStub looked at the function slot in order to skip stub frames and find the JS frame. However, stub frames do not have a function slot (in fact their fixed frame ends one slot before the JS frame's function slot). Therefore, if this location in the stub frame happens to have the function object the create arguments stubs won't skip this frame correctly. Replace this approach with one where the stub is specialized to either skip a frame if required (since there will only ever be one extra frame on Ignition the loop approach isn't necessary). BUG=v8:4928 LOG=N CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_nosnap_dbg Committed: https://crrev.com/40f345416f00761c79b9d2094c2e12e798329935 Cr-Commit-Position: refs/heads/master@{#36181}

Patch Set 1 : #

Patch Set 2 : Rebased #

Patch Set 3 : Rebased #

Patch Set 4 : Add ports #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -233 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 3 chunks +33 lines, -33 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 3 chunks +33 lines, -33 lines 0 comments Download
M src/bailout-reason.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/code-factory.h View 1 chunk +6 lines, -3 lines 0 comments Download
M src/code-factory.cc View 1 chunk +9 lines, -6 lines 0 comments Download
M src/code-stubs.h View 1 2 3 chunks +30 lines, -6 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 3 chunks +33 lines, -33 lines 0 comments Download
M src/interpreter/interpreter.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 3 chunks +33 lines, -33 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 3 chunks +33 lines, -33 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 3 chunks +33 lines, -33 lines 0 comments Download
M test/cctest/cctest.status View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M test/webkit/webkit.status View 1 chunk +0 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949023003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949023003/1
4 years, 7 months ago (2016-05-04 12:35:48 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nosnap_dbg on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nosnap_dbg/builds/1391)
4 years, 7 months ago (2016-05-04 14:15:32 UTC) #4
rmcilroy
Benedkit, could you have a look please. If reasonable I'll port to other architectures.
4 years, 7 months ago (2016-05-06 10:49:07 UTC) #13
rmcilroy
Ping Benedkit?
4 years, 7 months ago (2016-05-09 09:59:13 UTC) #14
Benedikt Meurer
lgtm
4 years, 7 months ago (2016-05-09 10:14:03 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949023003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949023003/180001
4 years, 7 months ago (2016-05-11 14:05:53 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 15:00:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949023003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949023003/180001
4 years, 7 months ago (2016-05-11 15:04:26 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:180001)
4 years, 7 months ago (2016-05-11 15:06:49 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 15:07:59 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/40f345416f00761c79b9d2094c2e12e798329935
Cr-Commit-Position: refs/heads/master@{#36181}

Powered by Google App Engine
This is Rietveld 408576698