|
|
Created:
4 years, 6 months ago by Igor Sheludko Modified:
4 years, 5 months ago Reviewers:
Toon Verwaest CC:
v8-reviews_googlegroups.com Base URL:
https://chromium.googlesource.com/v8/v8.git@master Target Ref:
refs/pending/heads/master Project:
v8 Visibility:
Public. |
Description[stubs] Implementing CodeStubAssembler::GetOwnProperty().
This is a building block for GetPropertyStub. It supports querying fast,
slow and global objects without native accessors and interceptors.
BUG=v8:4911
LOG=Y
Committed: https://crrev.com/23332fe8296b48e66775e352de4759494553c12c
Cr-Commit-Position: refs/heads/master@{#37291}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fixing TryHasOwnProperty and addressing comments #
Messages
Total messages: 43 (26 generated)
The CQ bit was checked by ishell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2079823002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng...)
Patchset #2 (id:20001) has been deleted
Patchset #2 (id:40001) has been deleted
Patchset #1 (id:1) has been deleted
The CQ bit was checked by ishell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2079823002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Patchset #2 (id:80001) has been deleted
Patchset #1 (id:60001) has been deleted
Description was changed from ========== WIP: Implementing GetPropertyStub BUG=v8:4911 LOG=Y ========== to ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a prerequisite for GetPropertyStub. BUG=v8:4911 LOG=Y ==========
The CQ bit was checked by ishell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2079823002/100001
Description was changed from ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a prerequisite for GetPropertyStub. BUG=v8:4911 LOG=Y ========== to ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. BUG=v8:4911 LOG=Y ==========
Description was changed from ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. BUG=v8:4911 LOG=Y ========== to ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. It supports querying fast, slow and global objects without native accessors and interceptors. BUG=v8:4911 LOG=Y ==========
Description was changed from ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. It supports querying fast, slow and global objects without native accessors and interceptors. BUG=v8:4911 LOG=Y ========== to ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. It supports querying fast, slow and global objects without native accessors and interceptors. BUG=v8:4911 LOG=Y ==========
ishell@chromium.org changed reviewers: + verwaest@chromium.org
PTAL
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2079823002/diff/100001/src/code-stub-assemble... File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2079823002/diff/100001/src/code-stub-assemble... src/code-stub-assembler.cc:1719: GotoIf(Word32NotEqual(Word32And(bit_field, mask), Int32Constant(0)), This shouldn't be possible if we check LAST_SPECIAL_RECEIVER_TYPE previously. If so, turn into Assert? https://codereview.chromium.org/2079823002/diff/100001/src/code-stub-assemble... src/code-stub-assembler.cc:1953: GotoIf(WordEqual(value, TheHoleConstant()), if_deleted); This should already have been handled in TryLookupProperty. That one should probably return the property cell directly rather than the dictionary backing store. That avoids duplicate access.
Patchset #3 (id:140001) has been deleted
Patchset #2 (id:120001) has been deleted
PTAL again https://codereview.chromium.org/2079823002/diff/100001/src/code-stub-assemble... File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2079823002/diff/100001/src/code-stub-assemble... src/code-stub-assembler.cc:1719: GotoIf(Word32NotEqual(Word32And(bit_field, mask), Int32Constant(0)), On 2016/06/23 12:34:54, Toon Verwaest wrote: > This shouldn't be possible if we check LAST_SPECIAL_RECEIVER_TYPE previously. If > so, turn into Assert? Done. https://codereview.chromium.org/2079823002/diff/100001/src/code-stub-assemble... src/code-stub-assembler.cc:1953: GotoIf(WordEqual(value, TheHoleConstant()), if_deleted); On 2016/06/23 12:34:54, Toon Verwaest wrote: > This should already have been handled in TryLookupProperty. That one should > probably return the property cell directly rather than the dictionary backing > store. That avoids duplicate access. Currently it's the caller responsibility to do a hole check. There's no duplicate access in this case. Otherwise I would have to return both property cell and the value from TryLookupProperty. TryLookpuProperty is a building block anyway, so I think it's fine to leave it as is.
The CQ bit was checked by ishell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/buil...)
Patchset #2 (id:160001) has been deleted
The CQ bit was checked by ishell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
The CQ bit was checked by ishell@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. It supports querying fast, slow and global objects without native accessors and interceptors. BUG=v8:4911 LOG=Y ========== to ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. It supports querying fast, slow and global objects without native accessors and interceptors. BUG=v8:4911 LOG=Y ==========
Message was sent while issue was closed.
Committed patchset #2 (id:180001)
Message was sent while issue was closed.
Description was changed from ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. It supports querying fast, slow and global objects without native accessors and interceptors. BUG=v8:4911 LOG=Y ========== to ========== [stubs] Implementing CodeStubAssembler::GetOwnProperty(). This is a building block for GetPropertyStub. It supports querying fast, slow and global objects without native accessors and interceptors. BUG=v8:4911 LOG=Y Committed: https://crrev.com/23332fe8296b48e66775e352de4759494553c12c Cr-Commit-Position: refs/heads/master@{#37291} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/23332fe8296b48e66775e352de4759494553c12c Cr-Commit-Position: refs/heads/master@{#37291} |