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

Issue 1795793002: [compiler] Introduce code stubs for abstract equality. (Closed)

Created:
4 years, 9 months ago by Benedikt Meurer
Modified:
4 years, 9 months ago
Reviewers:
epertoso
CC:
oth, rmcilroy, 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

[compiler] Introduce code stubs for abstract equality. Add EqualStub and NotEqualStub, based on the CodeStubAssembler, and hook them up with TurboFan and Ignition. The stubs are a full implementation of abstract equality for ES6 plus the current SIMD.js draft, unlike the generic version of the CompareIC, which only implements a subset with funky runtime fallbacks. Drive-by-fix: Introduce some common helper methods. R=epertoso@chromium.org BUG=chromium:592690 LOG=n Committed: https://crrev.com/8a809501bd229a707cd001a012f2f65f239439be Cr-Commit-Position: refs/heads/master@{#34806}

Patch Set 1 #

Total comments: 2

Patch Set 2 : instancetype -> instance_type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+754 lines, -53 lines) Patch
M src/code-factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/code-factory.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/code-stubs.h View 2 chunks +18 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 12 chunks +678 lines, -48 lines 0 comments Download
M src/compiler/code-stub-assembler.h View 5 chunks +12 lines, -0 lines 0 comments Download
M src/compiler/code-stub-assembler.cc View 4 chunks +24 lines, -1 line 0 comments Download
M src/compiler/js-generic-lowering.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/interpreter/interpreter.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/objects.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Benedikt Meurer
4 years, 9 months ago (2016-03-13 19:04:05 UTC) #1
Benedikt Meurer
Hey Enrico, Here's the last missing TurboFan code stub to fully implement all comparison operators. ...
4 years, 9 months ago (2016-03-13 19:07:42 UTC) #2
epertoso
TF code stubs are getting harder to read. Why did you change e.g. lhs_instance_type to ...
4 years, 9 months ago (2016-03-14 15:41:38 UTC) #3
Benedikt Meurer
On 2016/03/14 15:41:38, epertoso wrote: > TF code stubs are getting harder to read. Yeah, ...
4 years, 9 months ago (2016-03-14 18:21:00 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/1795793002/diff/1/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1795793002/diff/1/src/code-stubs.cc#newcode1163 src/code-stubs.cc:1163: for (int32_t i = 0; i < FIRST_NONSTRING_TYPE; ++i) ...
4 years, 9 months ago (2016-03-14 18:21:08 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1795793002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1795793002/1
4 years, 9 months ago (2016-03-15 10:23:50 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-15 10:46:26 UTC) #9
epertoso
lgtm
4 years, 9 months ago (2016-03-16 09:27:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1795793002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1795793002/20001
4 years, 9 months ago (2016-03-16 09:28:45 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-16 09:37:01 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 09:38:02 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8a809501bd229a707cd001a012f2f65f239439be
Cr-Commit-Position: refs/heads/master@{#34806}

Powered by Google App Engine
This is Rietveld 408576698