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

Issue 2385423005: [stubs] Implement fast TF Builtin for Object.create (Closed)

Created:
4 years, 2 months ago by Camillo Bruni
Modified:
4 years, 1 month ago
Reviewers:
Igor Sheludko, Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Implement TF builtin for Object.create fast paths BUG= Committed: https://crrev.com/b7ff0d7136427891db98936de10a7edf1fd7f7e3 Cr-Commit-Position: refs/heads/master@{#40429}

Patch Set 1 #

Patch Set 2 : properly initialize newly allocated object #

Patch Set 3 : fix check #

Patch Set 4 : rebasing #

Patch Set 5 : implement prototype info check #

Patch Set 6 : adding tests #

Patch Set 7 : update comments #

Total comments: 3

Patch Set 8 : fix heap verification call #

Total comments: 23

Patch Set 9 : addressing nits #

Total comments: 2

Patch Set 10 : fix heap size check #

Total comments: 1

Patch Set 11 : Fixing IsWordAligned and IsRegularHeapObjectSize #

Patch Set 12 : fixing comment #

Patch Set 13 : rebasing #

Total comments: 3

Patch Set 14 : more nits #

Patch Set 15 : moving IsWordAligned to CodeStubAssembler and removing BranchIf #

Patch Set 16 : removing unused symbol #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -49 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/builtins-object.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +83 lines, -44 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +35 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +119 lines, -3 lines 0 comments Download
M src/compiler/code-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +62 lines, -0 lines 0 comments Download
M test/mjsunit/object-create.js View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (25 generated)
Camillo Bruni
PTAL
4 years, 2 months ago (2016-10-18 09:07:03 UTC) #11
Igor Sheludko
I think it's rather [stubs] but not [runtime]. https://codereview.chromium.org/2385423005/diff/120001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2385423005/diff/120001/src/code-stub-assembler.cc#newcode1059 src/code-stub-assembler.cc:1059: Assert(Word32Equal(Word32And(bit_field, ...
4 years, 2 months ago (2016-10-18 12:33:22 UTC) #16
Camillo Bruni
https://codereview.chromium.org/2385423005/diff/140001/src/builtins/builtins-object.cc File src/builtins/builtins-object.cc (right): https://codereview.chromium.org/2385423005/diff/140001/src/builtins/builtins-object.cc#newcode497 src/builtins/builtins-object.cc:497: a->BranchIfWordEqual(a->LoadMapNumberOfOwnDescriptors(properties_map), On 2016/10/18 at 12:33:21, Igor Sheludko wrote: > ...
4 years, 2 months ago (2016-10-18 14:06:00 UTC) #18
Camillo Bruni
PTAL again
4 years, 2 months ago (2016-10-18 14:12:03 UTC) #19
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/2385423005/diff/160001/src/builtins/builtins-object.cc File src/builtins/builtins-object.cc (right): https://codereview.chromium.org/2385423005/diff/160001/src/builtins/builtins-object.cc#newcode492 src/builtins/builtins-object.cc:492: // Spurious change. https://codereview.chromium.org/2385423005/diff/160001/src/compiler/code-assembler.cc File src/compiler/code-assembler.cc ...
4 years, 2 months ago (2016-10-18 14:22:19 UTC) #20
Camillo Bruni
jarin@ PTAL src/compiler/*
4 years, 2 months ago (2016-10-18 14:49:45 UTC) #24
Igor Sheludko
More nits: https://codereview.chromium.org/2385423005/diff/240001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2385423005/diff/240001/src/code-stub-assembler.cc#newcode1696 src/code-stub-assembler.cc:1696: Node* start_address = IntPtrAdd(object, IntPtrConstant(start_offset - 1)); ...
4 years, 2 months ago (2016-10-19 06:50:56 UTC) #25
Jarin
https://codereview.chromium.org/2385423005/diff/240001/src/compiler/code-assembler.h File src/compiler/code-assembler.h (right): https://codereview.chromium.org/2385423005/diff/240001/src/compiler/code-assembler.h#newcode290 src/compiler/code-assembler.h:290: Node* IsWordAligned(Node* value); I think this should not be ...
4 years, 2 months ago (2016-10-19 07:24:16 UTC) #26
Camillo Bruni
On 2016/10/19 at 07:24:16, jarin wrote: > https://codereview.chromium.org/2385423005/diff/240001/src/compiler/code-assembler.h > File src/compiler/code-assembler.h (right): > > https://codereview.chromium.org/2385423005/diff/240001/src/compiler/code-assembler.h#newcode290 ...
4 years, 2 months ago (2016-10-19 07:38:40 UTC) #27
Jarin
src/compiler/* lgtm. Thanks!
4 years, 2 months ago (2016-10-19 09:20:44 UTC) #30
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/2385423005/280001
4 years, 2 months ago (2016-10-19 09:24:32 UTC) #33
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/2385423005/300001
4 years, 2 months ago (2016-10-19 10:26:31 UTC) #36
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 2 months ago (2016-10-19 11:33:37 UTC) #37
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:06:10 UTC) #39
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/b7ff0d7136427891db98936de10a7edf1fd7f7e3
Cr-Commit-Position: refs/heads/master@{#40429}

Powered by Google App Engine
This is Rietveld 408576698