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

Issue 1202963005: Fix receiver when calling eval() bound by with scope (Closed)

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

Description

Fix receiver when calling eval() bound by with scope Thanks to André Bargull for the report. BUG=v8:4214 LOG=N R=arv@chromium.org, mstarzinger@chromium.org Committed: https://crrev.com/3c5f0db3a1768ade68108bf003676ce378d1cbdc Cr-Commit-Position: refs/heads/master@{#29259}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add TF implementation, split lookup/eval bailout ids, full-codegen still TBD #

Patch Set 3 : Full-codegen impls for all arches #

Unified diffs Side-by-side diffs Delta from patch set Stats (+406 lines, -326 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 4 chunks +50 lines, -41 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 4 chunks +48 lines, -39 lines 0 comments Download
M src/ast.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 3 chunks +14 lines, -2 lines 0 comments Download
M src/full-codegen.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 4 chunks +46 lines, -38 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 4 chunks +50 lines, -41 lines 0 comments Download
M src/mips64/full-codegen-mips64.cc View 1 2 4 chunks +50 lines, -41 lines 0 comments Download
M src/ppc/full-codegen-ppc.cc View 1 2 4 chunks +48 lines, -42 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 4 chunks +47 lines, -37 lines 0 comments Download
M src/x87/full-codegen-x87.cc View 1 2 4 chunks +46 lines, -38 lines 0 comments Download
A + test/mjsunit/regress/regress-4214.js View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
wingo
PTAL. Another option would be to revert the part of https://codereview.chromium.org/1178903003 that made kResolvePossiblyDirectEval return ...
5 years, 6 months ago (2015-06-24 11:55:20 UTC) #1
wingo
On 2015/06/24 11:55:20, wingo wrote: > PTAL. Another option would be to revert the part ...
5 years, 6 months ago (2015-06-24 11:55:36 UTC) #2
Toon Verwaest
https://codereview.chromium.org/1202963005/diff/1/src/x64/full-codegen-x64.cc File src/x64/full-codegen-x64.cc (right): https://codereview.chromium.org/1202963005/diff/1/src/x64/full-codegen-x64.cc#newcode3064 src/x64/full-codegen-x64.cc:3064: // passing the hole to the call function stub. ...
5 years, 6 months ago (2015-06-24 13:30:44 UTC) #4
wingo
On 2015/06/24 13:30:44, Toon Verwaest wrote: > https://codereview.chromium.org/1202963005/diff/1/src/x64/full-codegen-x64.cc > File src/x64/full-codegen-x64.cc (right): > > https://codereview.chromium.org/1202963005/diff/1/src/x64/full-codegen-x64.cc#newcode3064 ...
5 years, 6 months ago (2015-06-24 13:35:15 UTC) #5
arv (Not doing code reviews)
Looks good, ready for other ports https://codereview.chromium.org/1202963005/diff/1/src/x64/full-codegen-x64.cc File src/x64/full-codegen-x64.cc (right): https://codereview.chromium.org/1202963005/diff/1/src/x64/full-codegen-x64.cc#newcode3064 src/x64/full-codegen-x64.cc:3064: // passing the ...
5 years, 6 months ago (2015-06-24 13:36:50 UTC) #6
wingo
New patch adds TF support, in case Michael or someone other TF wizard has time ...
5 years, 6 months ago (2015-06-24 14:46:05 UTC) #7
Michael Starzinger
LGTM on the TurboFan port. About the CL in general, no comment.
5 years, 6 months ago (2015-06-24 15:05:03 UTC) #8
Michael Starzinger
Just to put my thoughts into writing, I am not entirely convinced this is cleaner ...
5 years, 6 months ago (2015-06-24 15:14:09 UTC) #9
wingo
On 2015/06/24 15:14:09, Michael Starzinger wrote: > Just to put my thoughts into writing, I ...
5 years, 6 months ago (2015-06-24 15:23:48 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202963005/40001
5 years, 6 months ago (2015-06-24 15:54:27 UTC) #13
wingo
Added full-codegen implementations for other arches; ptal :)
5 years, 6 months ago (2015-06-24 15:54:31 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-24 16:21:24 UTC) #16
arv (Not doing code reviews)
LGTM
5 years, 6 months ago (2015-06-24 16:40:14 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202963005/40001
5 years, 6 months ago (2015-06-24 16:46:10 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-24 16:47:57 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/3c5f0db3a1768ade68108bf003676ce378d1cbdc Cr-Commit-Position: refs/heads/master@{#29259}
5 years, 6 months ago (2015-06-24 16:48:11 UTC) #21
Michael Achenbach
5 years, 6 months ago (2015-06-24 19:08:03 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1201273004/ by machenbach@chromium.org.

The reason for reverting is: [Sheriff] Breaks layout tests. Please fix upstream
blink first.
http://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Mac/builds/574

Please consider extra blink trybots on a reland..

Powered by Google App Engine
This is Rietveld 408576698