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

Issue 1809993002: Provide optimized support for the %GetOrdinaryHasInstance intrinsic. (Closed)

Created:
4 years, 9 months ago by mvstanton
Modified:
4 years, 9 months ago
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@bare-4774-fix
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Provide optimized support for the %GetOrdinaryHasInstance intrinsic. This new intrinsic is used by the desugared ES6 instanceof implementation for the cases when the F[@@hasInstance] property is null or undefined. R=mstarzinger@chromium.org Committed: https://crrev.com/992ae64de0b3539ab59235c7700426aa008b607f Cr-Commit-Position: refs/heads/master@{#34866}

Patch Set 1 #

Patch Set 2 : Removed nit. #

Patch Set 3 : Fix release build compile error. #

Total comments: 6

Patch Set 4 : Comment response. #

Total comments: 2

Patch Set 5 : REBASE and nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -1 line) Patch
M src/compiler/js-intrinsic-lowering.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M src/crankshaft/hydrogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/full-codegen/full-codegen.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M test/unittests/compiler/js-intrinsic-lowering-unittest.cc View 1 2 3 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
mvstanton
Hi Michael, Here is the CL we've been discussing, thanks for the info! Toon: could ...
4 years, 9 months ago (2016-03-17 12:22:26 UTC) #2
Michael Starzinger
LGTM with comments and nits. https://codereview.chromium.org/1809993002/diff/40001/src/compiler/linkage.cc File src/compiler/linkage.cc (right): https://codereview.chromium.org/1809993002/diff/40001/src/compiler/linkage.cc#newcode171 src/compiler/linkage.cc:171: case Runtime::kGetOrdinaryHasInstance: As discussed ...
4 years, 9 months ago (2016-03-17 12:43:53 UTC) #3
mvstanton
Thanks Michael, most awesome... https://codereview.chromium.org/1809993002/diff/40001/src/compiler/linkage.cc File src/compiler/linkage.cc (right): https://codereview.chromium.org/1809993002/diff/40001/src/compiler/linkage.cc#newcode171 src/compiler/linkage.cc:171: case Runtime::kGetOrdinaryHasInstance: On 2016/03/17 12:43:53, ...
4 years, 9 months ago (2016-03-17 13:23:03 UTC) #4
Toon Verwaest
lgtm https://codereview.chromium.org/1809993002/diff/60001/src/crankshaft/hydrogen.cc File src/crankshaft/hydrogen.cc (right): https://codereview.chromium.org/1809993002/diff/60001/src/crankshaft/hydrogen.cc#newcode12892 src/crankshaft/hydrogen.cc:12892: handle(isolate()->native_context()->ordinary_has_instance())); I think you can just do isolate()->ordinary_has_instance()
4 years, 9 months ago (2016-03-17 15:12:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809993002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809993002/80001
4 years, 9 months ago (2016-03-17 15:23:21 UTC) #8
mvstanton
Thanks Toon! --Mike https://codereview.chromium.org/1809993002/diff/60001/src/crankshaft/hydrogen.cc File src/crankshaft/hydrogen.cc (right): https://codereview.chromium.org/1809993002/diff/60001/src/crankshaft/hydrogen.cc#newcode12892 src/crankshaft/hydrogen.cc:12892: handle(isolate()->native_context()->ordinary_has_instance())); On 2016/03/17 15:12:54, Toon Verwaest ...
4 years, 9 months ago (2016-03-17 15:23:48 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-17 15:45:53 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 15:47:09 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/992ae64de0b3539ab59235c7700426aa008b607f
Cr-Commit-Position: refs/heads/master@{#34866}

Powered by Google App Engine
This is Rietveld 408576698