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

Issue 1845243005: [ic] Use the CallFunction builtin to invoke accessors. (Closed)

Created:
4 years, 8 months ago by Benedikt Meurer
Modified:
4 years, 8 months ago
Reviewers:
Toon Verwaest, Yang
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Use the CallFunction builtin to invoke accessors. The HandlerCompiler did not properly handle the weird edge case when a sloppy mode function was installed as an accessor on one of the value wrapper prototypes and then accessed via a load from a primitive value. In this case we just passed the primitive value untouched instead of properly wrapping it first. The CallFunction builtin properly deals with all the funny edge cases, so we use it instead of duplicating almost all of the logic here (the performance difference is neglible). R=verwaest@chromium.org BUG=chromium:599073, v8:4413 LOG=n Committed: https://crrev.com/6df9a22c3f8d6640e867ca659c95e22289b00b40 Cr-Commit-Position: refs/heads/master@{#35187}

Patch Set 1 #

Patch Set 2 : Fix typo on ia32. #

Patch Set 3 : Now for real. #

Patch Set 4 : mips64 fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -84 lines) Patch
M src/ic/arm/handler-compiler-arm.cc View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M src/ic/arm64/handler-compiler-arm64.cc View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M src/ic/ia32/handler-compiler-ia32.cc View 1 2 chunks +8 lines, -8 lines 0 comments Download
M src/ic/mips/handler-compiler-mips.cc View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M src/ic/mips64/handler-compiler-mips64.cc View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download
M src/ic/x64/handler-compiler-x64.cc View 2 chunks +8 lines, -8 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-599073-1.js View 1 chunk +5 lines, -9 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-599073-2.js View 1 chunk +5 lines, -9 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-599073-3.js View 1 chunk +5 lines, -9 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-599073-4.js View 1 chunk +5 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Benedikt Meurer
4 years, 8 months ago (2016-04-01 05:21:43 UTC) #1
Benedikt Meurer
Hey Toon, Remove another special case of call and use the CallFunction builtin instead for ...
4 years, 8 months ago (2016-04-01 05:22:46 UTC) #2
Yang
lgtm
4 years, 8 months ago (2016-04-01 06:35:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845243005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845243005/60001
4 years, 8 months ago (2016-04-01 06:36:02 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-01 06:37:44 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 06:38:04 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6df9a22c3f8d6640e867ca659c95e22289b00b40
Cr-Commit-Position: refs/heads/master@{#35187}

Powered by Google App Engine
This is Rietveld 408576698