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

Issue 2446073002: [stubs] Add more assertions in the CodeStubAssembler (Closed)

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

Description

[stubs] Add more assertions in the CodeStubAssembler BUG= Committed: https://crrev.com/feb96acecd0ed98579949907b970a39b88274cd1 Cr-Commit-Position: refs/heads/master@{#40638}

Patch Set 1 #

Patch Set 2 : fix merge conflicts #

Patch Set 3 : Not using DebugBreak() might help running the code #

Patch Set 4 : g cl try #

Total comments: 5

Patch Set 5 : adding slow asserts #

Total comments: 3

Patch Set 6 : fixing CSA_SLOW_ASSERT #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -91 lines) Patch
M src/code-stub-assembler.h View 1 2 3 4 5 6 5 chunks +34 lines, -6 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 6 29 chunks +158 lines, -82 lines 0 comments Download
M src/code-stubs.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (21 generated)
Camillo Bruni
PTAL Maybe the IsMap() checks are over the top and should just be put in ...
4 years, 1 month ago (2016-10-25 18:27:25 UTC) #10
Igor Sheludko
Maybe it's time to introduce CSA_SLOW_ASSERT for IsMap? lgtm once you address the comments: https://codereview.chromium.org/2446073002/diff/60001/src/code-stub-assembler.cc ...
4 years, 1 month ago (2016-10-26 08:58:51 UTC) #11
Camillo Bruni
mythria@ PTAL src/interpreter/* ishell@ PTAL again, added SLOW_CSA_ASSERT https://codereview.chromium.org/2446073002/diff/60001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2446073002/diff/60001/src/code-stub-assembler.cc#newcode1887 src/code-stub-assembler.cc:1887: CSA_ASSERT(IntPtrGreaterThan(capacity_node, ...
4 years, 1 month ago (2016-10-26 13:10:41 UTC) #13
Igor Sheludko
https://codereview.chromium.org/2446073002/diff/80001/src/code-stub-assembler.h File src/code-stub-assembler.h (right): https://codereview.chromium.org/2446073002/diff/80001/src/code-stub-assembler.h#newcode166 src/code-stub-assembler.h:166: void SlowAssert(compiler::Node* condition, const char* string = nullptr, See ...
4 years, 1 month ago (2016-10-26 13:24:27 UTC) #14
mythria
lgtm on interpreter changes.
4 years, 1 month ago (2016-10-26 13:24:29 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/2446073002/120001
4 years, 1 month ago (2016-10-28 09:40:36 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-10-28 09:42:36 UTC) #27
Camillo Bruni
https://codereview.chromium.org/2446073002/diff/80001/src/code-stub-assembler.h File src/code-stub-assembler.h (right): https://codereview.chromium.org/2446073002/diff/80001/src/code-stub-assembler.h#newcode1188 src/code-stub-assembler.h:1188: #define CSA_SLOW_ASSERT(x) SlowAssert((x), #x, __FILE__, __LINE__) On 2016/10/26 at ...
4 years, 1 month ago (2016-10-28 11:09:33 UTC) #28
Michael Achenbach
FYI: This seems to introduce a crash in arm64 nosnap debug: https://build.chromium.org/p/client.v8.ports/builders/V8%20Linux%20-%20arm64%20-%20sim%20-%20nosnap%20-%20debug/builds/2886
4 years, 1 month ago (2016-11-02 10:47:07 UTC) #29
Camillo Bruni
On 2016/11/02 at 10:47:07, machenbach wrote: > FYI: This seems to introduce a crash in ...
4 years, 1 month ago (2016-11-02 19:02:25 UTC) #30
Camillo Bruni
On 2016/11/02 at 19:02:25, Camillo Bruni wrote: > On 2016/11/02 at 10:47:07, machenbach wrote: > ...
4 years, 1 month ago (2016-11-07 08:27:45 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:16:27 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/feb96acecd0ed98579949907b970a39b88274cd1
Cr-Commit-Position: refs/heads/master@{#40638}

Powered by Google App Engine
This is Rietveld 408576698