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

Issue 2810363003: [builtins] Introduce DeleteProperty builtin (Closed)

Created:
3 years, 8 months ago by Jakob Kummerow
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com, rmcilroy
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] Introduce DeleteProperty builtin So that we can delete object properties without a runtime call. The builtin implements a few fast paths (for now only deletion of dictionary properties), and calls the runtime for all other cases. Review-Url: https://codereview.chromium.org/2810363003 Cr-Commit-Position: refs/heads/master@{#44740} Committed: https://chromium.googlesource.com/v8/v8/+/43fd247c52b7c4e2ae279ed56070be9d8bcc9494

Patch Set 1 #

Patch Set 2 : ready for review #

Total comments: 13

Patch Set 3 : addressed comments #

Patch Set 4 : fix CallableFor not to create handles #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -114 lines) Patch
M src/builtins/builtins.cc View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M src/builtins/builtins-definitions.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins-internal-gen.cc View 1 2 3 1 chunk +121 lines, -0 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 4 chunks +29 lines, -9 lines 0 comments Download
M src/code-stub-assembler.cc View 1 1 chunk +0 lines, -23 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/compiler/js-operator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-operator.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/s390/full-codegen-s390.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/interpreter/interpreter-generator.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/js/array.js View 1 1 chunk +1 line, -1 line 0 comments Download
M src/property-details.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 1 chunk +13 lines, -10 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
Jakob Kummerow
Benedikt: please review src/compiler/*. The changes there are straightforward; the language_mode is now a parameter ...
3 years, 8 months ago (2017-04-19 14:41:50 UTC) #2
Benedikt Meurer
src/compiler LGTM
3 years, 8 months ago (2017-04-19 16:50:17 UTC) #8
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/2810363003/diff/20001/src/builtins/builtins-internal-gen.cc File src/builtins/builtins-internal-gen.cc (right): https://codereview.chromium.org/2810363003/diff/20001/src/builtins/builtins-internal-gen.cc#newcode188 src/builtins/builtins-internal-gen.cc:188: StoreFixedArrayElement(properties, key_index, filler); TheHoleValue is in ...
3 years, 8 months ago (2017-04-20 09:18:43 UTC) #9
Jakob Kummerow
Thanks for the reviews; comments addressed; landing. https://codereview.chromium.org/2810363003/diff/20001/src/builtins/builtins-internal-gen.cc File src/builtins/builtins-internal-gen.cc (right): https://codereview.chromium.org/2810363003/diff/20001/src/builtins/builtins-internal-gen.cc#newcode188 src/builtins/builtins-internal-gen.cc:188: StoreFixedArrayElement(properties, key_index, ...
3 years, 8 months ago (2017-04-20 09:52:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2810363003/40001
3 years, 8 months ago (2017-04-20 09:52:48 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/17040) v8_linux64_gyp_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 8 months ago (2017-04-20 10:13:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2810363003/60001
3 years, 8 months ago (2017-04-20 11:46:52 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/v8/v8/+/43fd247c52b7c4e2ae279ed56070be9d8bcc9494
3 years, 8 months ago (2017-04-20 12:11:15 UTC) #21
Jakob Kummerow
This has improved "Group-Runtime" on speedometer/angular by 14ms or 9%: https://chromeperf.appspot.com/report?sid=7acd0dfb5d4b4274730e8694ac49cc22a8d15dc903aa1e1c35ed48e1a453d029&rev=44742
3 years, 8 months ago (2017-04-21 18:03:23 UTC) #22
Benedikt Meurer
3 years, 8 months ago (2017-04-23 16:45:00 UTC) #23
Message was sent while issue was closed.
On 2017/04/21 18:03:23, Jakob Kummerow wrote:
> This has improved "Group-Runtime" on speedometer/angular by 14ms or 9%:
> 
>
https://chromeperf.appspot.com/report?sid=7acd0dfb5d4b4274730e8694ac49cc22a8d...

Nice! Thanks Jakob.

Powered by Google App Engine
This is Rietveld 408576698