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

Issue 1753173003: [compiler] Introduce initial StrictEqualStub. (Closed)

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

Description

[compiler] Introduce initial StrictEqualStub. Initial version of a new StrictEqualStub written as TurboFan code stub, that implements the full strict equality comparison and is usable for both TurboFan and Ignition (and soon for the generic CompareIC case too). The stub is not fully optimized yet, i.e. we still go to the runtime for string comparisons, but that'll be addressed in a follow-up CL. R=yangguo@chromium.org Committed: https://crrev.com/4acb492e145b39700bbbc36ff0da5830de50f814 Cr-Commit-Position: refs/heads/master@{#34423}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add pseudo-code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+466 lines, -60 lines) Patch
M src/arm/code-stubs-arm.cc View 1 chunk +9 lines, -2 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 chunk +9 lines, -2 lines 0 comments Download
M src/code-factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/code-factory.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/code-stubs.h View 2 chunks +11 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 1 chunk +284 lines, -0 lines 0 comments Download
M src/compiler/code-stub-assembler.h View 7 chunks +24 lines, -6 lines 0 comments Download
M src/compiler/code-stub-assembler.cc View 8 chunks +47 lines, -17 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 2 chunks +9 lines, -1 line 0 comments Download
M src/compiler/linkage.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 chunk +12 lines, -5 lines 0 comments Download
M src/interpreter/interpreter.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 2 chunks +15 lines, -1 line 0 comments Download
M src/mips/code-stubs-mips.cc View 1 chunk +9 lines, -2 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 chunk +9 lines, -2 lines 0 comments Download
M src/runtime/runtime.h View 3 chunks +1 line, -3 lines 0 comments Download
M src/runtime/runtime-strings.cc View 1 chunk +3 lines, -13 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 chunk +13 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Benedikt Meurer
4 years, 9 months ago (2016-03-02 09:41:23 UTC) #1
Benedikt Meurer
Hey Yang, Here's an initial version for the StrictEqualStub. Please take a look. Thanks, Benedikt
4 years, 9 months ago (2016-03-02 09:41:51 UTC) #2
Yang
LGTM, but I got some comments. https://codereview.chromium.org/1753173003/diff/1/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/1753173003/diff/1/src/arm/code-stubs-arm.cc#newcode3189 src/arm/code-stubs-arm.cc:3189: __ sub(r0, r0, ...
4 years, 9 months ago (2016-03-02 10:29:16 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1753173003/diff/1/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/1753173003/diff/1/src/arm/code-stubs-arm.cc#newcode3189 src/arm/code-stubs-arm.cc:3189: __ sub(r0, r0, r1); Yes, 0 is for EQUAL, ...
4 years, 9 months ago (2016-03-02 11:27:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753173003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753173003/20001
4 years, 9 months ago (2016-03-02 11:27:17 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-02 11:47:06 UTC) #8
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 11:47:55 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4acb492e145b39700bbbc36ff0da5830de50f814
Cr-Commit-Position: refs/heads/master@{#34423}

Powered by Google App Engine
This is Rietveld 408576698