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

Issue 2424123002: [turbofan] When inlining JSCallConstruct receiver should be set to the hole. (Closed)

Created:
4 years, 2 months ago by mythria
Modified:
4 years, 2 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] When inlining JSCallConstruct receiver should be set to the hole. When inlining JSCallConstruct in turbofan, receiver is initialized to model the behaviour of constructor. When an implicit receiver is not required the receiver value should be set to the hole value instead of undefined value. When initializing the receiver via super calls, we check that the receiver is the hole value. BUG=chromium:653407 Committed: https://crrev.com/cad36659b1dc230773eb6d2a985fa8b9a12a4d86 Cr-Commit-Position: refs/heads/master@{#40396}

Patch Set 1 #

Patch Set 2 : Added a regress test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M src/compiler/js-inlining.cc View 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/regress/regress-653407.js View 1 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
mythria
Hi Michi, This is to fix this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=653407. If my understanding is correct when ...
4 years, 2 months ago (2016-10-17 18:56:23 UTC) #6
Michael Starzinger
LGTM. Can we add a regression test for this? Preferably one without a loop, but ...
4 years, 2 months ago (2016-10-18 09:39:41 UTC) #11
mythria
Thanks Michi. I added a test without the loop. I will land this once it ...
4 years, 2 months ago (2016-10-18 10:43:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2424123002/20001
4 years, 2 months ago (2016-10-18 11:42:02 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-18 11:47:45 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 11:48:25 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cad36659b1dc230773eb6d2a985fa8b9a12a4d86
Cr-Commit-Position: refs/heads/master@{#40396}

Powered by Google App Engine
This is Rietveld 408576698