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

Issue 1894953004: Add HasProperty code stub that tries simple lookups or jumps to runtime otherwise. (Closed)

Created:
4 years, 8 months ago by Igor Sheludko
Modified:
4 years, 7 months ago
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

Add HasProperty code stub that tries simple lookups or jumps to runtime otherwise. Code common with ObjectHasOwnProperty builtin was moved to CodeStubAssembler. BUG=v8:2743 LOG=Y Committed: https://crrev.com/c89e6eb5725e5c1a613f5aa63c1cb15fb6960534 Cr-Commit-Position: refs/heads/master@{#35972}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Addressing comments, tweak linear search limit based on local measurements #

Total comments: 6

Patch Set 3 : Addressing comments #

Patch Set 4 : Rebasing #

Patch Set 5 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+463 lines, -313 lines) Patch
M src/arm/interface-descriptors-arm.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 1 chunk +7 lines, -143 lines 0 comments Download
M src/code-factory.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/code-factory.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 2 chunks +144 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 1 chunk +117 lines, -0 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 3 4 2 chunks +1 line, -5 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 3 4 10 chunks +12 lines, -17 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 3 4 10 chunks +12 lines, -17 lines 0 comments Download
M src/full-codegen/full-codegen.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 3 4 10 chunks +12 lines, -20 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 3 4 10 chunks +12 lines, -17 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 3 4 10 chunks +12 lines, -17 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 2 3 4 10 chunks +12 lines, -17 lines 0 comments Download
M src/full-codegen/s390/full-codegen-s390.cc View 1 2 3 4 10 chunks +13 lines, -17 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 3 4 10 chunks +12 lines, -20 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 2 3 4 10 chunks +12 lines, -20 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M src/interface-descriptors.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/ppc/interface-descriptors-ppc.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/s390/interface-descriptors-s390.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/x87/interface-descriptors-x87.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (26 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894953004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894953004/1
4 years, 8 months ago (2016-04-18 12:36:35 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/16353) v8_linux64_asan_rel_ng on ...
4 years, 8 months ago (2016-04-18 12:38:06 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894953004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894953004/40001
4 years, 8 months ago (2016-04-18 13:08:37 UTC) #8
Igor Sheludko
Toon, PTAL all. Ross, PTAL interpreter part.
4 years, 8 months ago (2016-04-18 13:11:35 UTC) #11
Igor Sheludko
Toon, PTAL all. Ross, PTAL interpreter part.
4 years, 8 months ago (2016-04-18 13:12:19 UTC) #13
rmcilroy
Interpreter change LGTM, thanks.
4 years, 8 months ago (2016-04-18 13:15:40 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-18 13:32:42 UTC) #16
Benedikt Meurer
LGTM on compiler if you use REPLACE_STUB_CALL in JSGenericLowering.
4 years, 8 months ago (2016-04-19 09:00:15 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894953004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894953004/60001
4 years, 8 months ago (2016-04-19 18:09:13 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-19 18:39:35 UTC) #23
Toon Verwaest
https://codereview.chromium.org/1894953004/diff/40001/src/arm/interface-descriptors-arm.cc File src/arm/interface-descriptors-arm.cc (right): https://codereview.chromium.org/1894953004/diff/40001/src/arm/interface-descriptors-arm.cc#newcode73 src/arm/interface-descriptors-arm.cc:73: const Register HasPropertyDescriptor::ObjectRegister() { return r0; } We're probably ...
4 years, 8 months ago (2016-04-20 10:00:04 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894953004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894953004/80001
4 years, 8 months ago (2016-04-20 11:40:21 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/16492) v8_linux64_avx2_rel_ng on ...
4 years, 8 months ago (2016-04-20 11:41:52 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894953004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894953004/100001
4 years, 8 months ago (2016-04-20 12:00:40 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-20 12:28:35 UTC) #32
Igor Sheludko
https://codereview.chromium.org/1894953004/diff/40001/src/arm/interface-descriptors-arm.cc File src/arm/interface-descriptors-arm.cc (right): https://codereview.chromium.org/1894953004/diff/40001/src/arm/interface-descriptors-arm.cc#newcode73 src/arm/interface-descriptors-arm.cc:73: const Register HasPropertyDescriptor::ObjectRegister() { return r0; } On 2016/04/20 ...
4 years, 8 months ago (2016-04-20 13:14:56 UTC) #33
Toon Verwaest
lgtm
4 years, 8 months ago (2016-04-21 10:48:11 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894953004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894953004/100001
4 years, 8 months ago (2016-04-21 17:45:27 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel_ng/builds/543) v8_linux_dbg_ng on tryserver.v8 (JOB_FAILED, ...
4 years, 8 months ago (2016-04-21 17:46:58 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894953004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894953004/120001
4 years, 7 months ago (2016-04-26 14:49:17 UTC) #41
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-26 15:14:06 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894953004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894953004/120001
4 years, 7 months ago (2016-05-03 10:35:25 UTC) #46
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 7 months ago (2016-05-03 11:11:38 UTC) #48
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 11:13:17 UTC) #50
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c89e6eb5725e5c1a613f5aa63c1cb15fb6960534
Cr-Commit-Position: refs/heads/master@{#35972}

Powered by Google App Engine
This is Rietveld 408576698