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

Issue 1231343003: Scoping error caused crash in CallICNexus::StateFromFeedback (Closed)

Created:
5 years, 5 months ago by mvstanton
Modified:
5 years, 5 months ago
Reviewers:
rossberg
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Scoping error caused crash in CallICNexus::StateFromFeedback A sloppy mode eval call that establishes strict mode will leak that strictness into the sloppy surrounding scope on recompile. This changes the structure of the type feedback vector for the function and crashes follow. The fix is straightforward. BUG=491536, 503565 LOG=N Committed: https://crrev.com/ae11f20e26f3ab0e3c14d579baa98c5b19a8eb86 Cr-Commit-Position: refs/heads/master@{#29671}

Patch Set 1 #

Patch Set 2 : Added regression tests. #

Total comments: 1

Patch Set 3 : Fix webkit tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -59 lines) Patch
M src/parser.h View 4 chunks +6 lines, -4 lines 0 comments Download
M src/parser.cc View 13 chunks +47 lines, -39 lines 0 comments Download
M src/preparser.h View 5 chunks +7 lines, -5 lines 0 comments Download
M src/preparser.cc View 4 chunks +16 lines, -9 lines 0 comments Download
A test/mjsunit/regress/regress-491536.js View 1 1 chunk +10 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-503565.js View 1 1 chunk +21 lines, -0 lines 0 comments Download
M test/webkit/class-syntax-extends-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
mvstanton
Hi Andreas, here are the changes. I noticed that in test-parser.cc there are now arrow ...
5 years, 5 months ago (2015-07-15 07:35:45 UTC) #2
rossberg
LGTM, thanks for cleaning this up. (It's a pity that we need to pass around ...
5 years, 5 months ago (2015-07-15 08:36:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1231343003/40001
5 years, 5 months ago (2015-07-15 09:13:25 UTC) #5
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-15 09:14:54 UTC) #6
commit-bot: I haz the power
5 years, 5 months ago (2015-07-15 09:15:17 UTC) #7
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ae11f20e26f3ab0e3c14d579baa98c5b19a8eb86
Cr-Commit-Position: refs/heads/master@{#29671}

Powered by Google App Engine
This is Rietveld 408576698