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

Issue 1455913003: [turbofan] Fix CFI failures with Operator1 class. (Closed)

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

Description

[turbofan] Fix CFI failures with Operator1 class. This ensures the class in question specifies the correct equality and hashing function when instantiated. Note that this introduces two new structs (i.e. OpEqualTo and OpHash) which can be used for defaults within OpParameter as well. R=titzer@chromium.org,bmeurer@chromium.org TEST=cctest/test-operator Committed: https://crrev.com/1582f37cd83f3d05e5b1d6ff2690e65a18c3656a Cr-Commit-Position: refs/heads/master@{#32080}

Patch Set 1 #

Patch Set 2 : Better solution. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -60 lines) Patch
M src/compiler/common-operator.cc View 1 2 chunks +20 lines, -25 lines 0 comments Download
M src/compiler/js-operator.cc View 1 3 chunks +3 lines, -6 lines 0 comments Download
M src/compiler/operator.h View 1 2 chunks +30 lines, -29 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
Michael Starzinger
5 years, 1 month ago (2015-11-18 12:38:05 UTC) #2
Michael Starzinger
Alternative approach as discussed offline. Kudos to Ben for the idea! PTAL.
5 years, 1 month ago (2015-11-18 13:06:51 UTC) #3
titzer
lgtm you be blowin me mind
5 years, 1 month ago (2015-11-18 13:08:44 UTC) #4
Benedikt Meurer
It was such a great idea to put this reinterpret_cast there combined with the awesome ...
5 years, 1 month ago (2015-11-18 13:10:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455913003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455913003/20001
5 years, 1 month ago (2015-11-18 13:21:36 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-18 13:48:23 UTC) #9
commit-bot: I haz the power
5 years, 1 month ago (2015-11-18 13:48:47 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1582f37cd83f3d05e5b1d6ff2690e65a18c3656a
Cr-Commit-Position: refs/heads/master@{#32080}

Powered by Google App Engine
This is Rietveld 408576698