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

Issue 1735863004: [ic] Unify undetectable abstract equality comparison. (Closed)

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

Description

[ic] Unify undetectable abstract equality comparison. The treatment of different undetectable objects was inconsistent after the latest changes to the undetectable bit in the maps. Given two different undetectable JSObjects a and b, a monomorphic CompareIC would say false for a == b, while the rest of the system (including the generic case for the CompareIC) would say true. The fix is rather straight-forward: We just go generic on a CompareIC once we see an undetectable JSObject. R=yangguo@chromium.org Committed: https://crrev.com/1b821f2f39163d9d9a9c0f93f274cba75183bfd6 Cr-Commit-Position: refs/heads/master@{#34315}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -4 lines) Patch
M src/ic/ic-state.cc View 3 chunks +9 lines, -2 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 chunk +0 lines, -1 line 0 comments Download
M test/mjsunit/undetectable-compare.js View 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
Benedikt Meurer
4 years, 9 months ago (2016-02-26 05:58:35 UTC) #1
Benedikt Meurer
Hey Yang, This unifies the handling of undetectable JSObject comparisons (the CompareIC was the outlier), ...
4 years, 9 months ago (2016-02-26 06:00:08 UTC) #2
Yang
On 2016/02/26 06:00:08, Benedikt Meurer wrote: > Hey Yang, > > This unifies the handling ...
4 years, 9 months ago (2016-02-26 06:14:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1735863004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1735863004/1
4 years, 9 months ago (2016-02-26 06:15:06 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-02-26 06:16:47 UTC) #6
commit-bot: I haz the power
4 years, 9 months ago (2016-02-26 06:17:30 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1b821f2f39163d9d9a9c0f93f274cba75183bfd6
Cr-Commit-Position: refs/heads/master@{#34315}

Powered by Google App Engine
This is Rietveld 408576698