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

Issue 1419173004: [turbofan] Fix super property calls to act as method calls. (Closed)

Created:
5 years, 1 month ago by Michael Starzinger
Modified:
5 years, 1 month ago
Reviewers:
rossberg
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@local_cleanup-ast-call-type
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Fix super property calls to act as method calls. This fixes [NAMED|KEYED]_SUPER_PROPERTY_CALL to perform a method call instead of a function call. The difference is visible for sloppy mode targets that convert primitive receivers. R=rossberg@chromium.org TEST=mjsunit/regress/regress-4525 BUG=v8:4525 LOG=n Committed: https://crrev.com/26f90c95cc8b56a51e462175fd5ebec5399f9a68 Cr-Commit-Position: refs/heads/master@{#31664}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adapted test. #

Total comments: 2

Patch Set 3 : Addressed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -6 lines) Patch
M src/compiler/ast-graph-builder.cc View 4 chunks +10 lines, -6 lines 0 comments Download
A test/mjsunit/regress/regress-4525.js View 1 2 1 chunk +39 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (3 generated)
Michael Starzinger
https://codereview.chromium.org/1419173004/diff/1/test/mjsunit/regress/regress-4525.js File test/mjsunit/regress/regress-4525.js (right): https://codereview.chromium.org/1419173004/diff/1/test/mjsunit/regress/regress-4525.js#newcode30 test/mjsunit/regress/regress-4525.js:30: assertThrows("o.bar.call(null)", TypeError); This call throws with the following exception. ...
5 years, 1 month ago (2015-10-29 15:12:49 UTC) #1
Michael Starzinger
https://codereview.chromium.org/1419173004/diff/1/test/mjsunit/regress/regress-4525.js File test/mjsunit/regress/regress-4525.js (right): https://codereview.chromium.org/1419173004/diff/1/test/mjsunit/regress/regress-4525.js#newcode30 test/mjsunit/regress/regress-4525.js:30: assertThrows("o.bar.call(null)", TypeError); On 2015/10/29 15:12:49, Michael Starzinger wrote: > ...
5 years, 1 month ago (2015-10-29 16:28:57 UTC) #3
rossberg
lgtm https://codereview.chromium.org/1419173004/diff/20001/test/mjsunit/regress/regress-4525.js File test/mjsunit/regress/regress-4525.js (right): https://codereview.chromium.org/1419173004/diff/20001/test/mjsunit/regress/regress-4525.js#newcode30 test/mjsunit/regress/regress-4525.js:30: // TODO(4526): Should convert to global receiver! Nit: ...
5 years, 1 month ago (2015-10-29 16:31:28 UTC) #4
Michael Starzinger
https://codereview.chromium.org/1419173004/diff/20001/test/mjsunit/regress/regress-4525.js File test/mjsunit/regress/regress-4525.js (right): https://codereview.chromium.org/1419173004/diff/20001/test/mjsunit/regress/regress-4525.js#newcode30 test/mjsunit/regress/regress-4525.js:30: // TODO(4526): Should convert to global receiver! On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 16:41:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1419173004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1419173004/40001
5 years, 1 month ago (2015-10-29 17:17:48 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-10-29 17:19:32 UTC) #9
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 17:19:50 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/26f90c95cc8b56a51e462175fd5ebec5399f9a68
Cr-Commit-Position: refs/heads/master@{#31664}

Powered by Google App Engine
This is Rietveld 408576698