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

Issue 2847923003: [csa] Add assertions to CSA (Closed)

Created:
3 years, 7 months ago by jgruber
Modified:
3 years, 6 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[csa] Add assertions to CSA This adds a bunch of assertions to CSA, mostly about documenting and checking parameter types. Drive-by-change: Removed unused function. BUG=v8:6325 Review-Url: https://codereview.chromium.org/2847923003 Cr-Original-Original-Commit-Position: refs/heads/master@{#45398} Committed: https://chromium.googlesource.com/v8/v8/+/b14a981496ad1f841683479d2f9188dfa2d6b4bd Review-Url: https://codereview.chromium.org/2847923003 Cr-Original-Commit-Position: refs/heads/master@{#45443} Committed: https://chromium.googlesource.com/v8/v8/+/62b0de1ef53816d6dae3fa519a846f942b701dda Review-Url: https://codereview.chromium.org/2847923003 Cr-Commit-Position: refs/heads/master@{#45607} Committed: https://chromium.googlesource.com/v8/v8/+/9ca164d05114008ba21e7e65da29271392c8efe9

Patch Set 1 #

Patch Set 2 : Compile fixes #

Total comments: 12

Patch Set 3 : Remove two problematic asserts #

Patch Set 4 : FixedArray asserts #

Total comments: 17

Patch Set 5 : Address comments #

Total comments: 2

Patch Set 6 : Fix exposed issues #

Patch Set 7 : Remove more asserts #

Patch Set 8 : Rebase #

Patch Set 9 : Remove the lowest-level asserts #

Patch Set 10 : Rebase #

Patch Set 11 : Internalize strings produced for CSA_ASSERT #

Patch Set 12 : Remove most low-level asserts #

Patch Set 13 : Rebase #

Patch Set 14 : Rebase #

Patch Set 15 : Rebase & fix incorrect asserts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -40 lines) Patch
M src/code-stub-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +7 lines, -10 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 61 chunks +154 lines, -30 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 102 (77 generated)
jgruber
Hey, ptal. The downside of these is that SLOW_ASSERT builds become noticeably slower.
3 years, 7 months ago (2017-04-28 13:35:49 UTC) #9
jgruber
On 2017/04/28 13:35:49, jgruber wrote: > Hey, ptal. The downside of these is that SLOW_ASSERT ...
3 years, 7 months ago (2017-04-28 15:02:18 UTC) #12
Camillo Bruni
Nice! LGMT + nits https://codereview.chromium.org/2847923003/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2847923003/diff/20001/src/code-stub-assembler.cc#newcode1438 src/code-stub-assembler.cc:1438: CSA_SLOW_ASSERT(this, IsFixedArray(context)); I've prepared an ...
3 years, 7 months ago (2017-04-28 15:57:45 UTC) #13
Camillo Bruni
LGTM, gee so hard to type.
3 years, 7 months ago (2017-04-28 15:58:00 UTC) #14
Igor Sheludko
https://codereview.chromium.org/2847923003/diff/60001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2847923003/diff/60001/src/code-stub-assembler.cc#newcode198 src/code-stub-assembler.cc:198: return (mode == SMI_PARAMETERS) ? TaggedIsSmi(value) : Int32Constant(1); Maybe ...
3 years, 7 months ago (2017-05-02 10:37:17 UTC) #23
jgruber
Thanks, addressed all comments. This flushed out a possible crankshaft bug which means a couple ...
3 years, 7 months ago (2017-05-03 11:11:51 UTC) #26
jgruber
FYI: Crankshaft bug at http://crbug.com/v8/6342
3 years, 7 months ago (2017-05-03 11:12:24 UTC) #27
Igor Sheludko
https://codereview.chromium.org/2847923003/diff/60001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2847923003/diff/60001/src/code-stub-assembler.cc#newcode198 src/code-stub-assembler.cc:198: return (mode == SMI_PARAMETERS) ? TaggedIsSmi(value) : Int32Constant(1); On ...
3 years, 7 months ago (2017-05-03 11:21:45 UTC) #28
jgruber
On 2017/05/03 11:21:45, Igor Sheludko wrote: > https://codereview.chromium.org/2847923003/diff/60001/src/code-stub-assembler.cc > File src/code-stub-assembler.cc (right): > > https://codereview.chromium.org/2847923003/diff/60001/src/code-stub-assembler.cc#newcode198 ...
3 years, 7 months ago (2017-05-03 12:32:54 UTC) #31
Igor Sheludko
On 2017/05/03 12:32:54, jgruber wrote: > On 2017/05/03 11:21:45, Igor Sheludko wrote: > > > ...
3 years, 7 months ago (2017-05-03 14:02:43 UTC) #32
Igor Sheludko
sgtm+lgtm https://codereview.chromium.org/2847923003/diff/80001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2847923003/diff/80001/src/code-stub-assembler.cc#newcode3289 src/code-stub-assembler.cc:3289: return WordEqual(LoadMap(map), MetaMapConstant()); return IsMetaMap(LoadMap(map));
3 years, 7 months ago (2017-05-03 14:03:05 UTC) #33
jgruber
Created http://crbug.com/v8/6390 for the register allocation failure. I'll leave this on hold until that is ...
3 years, 7 months ago (2017-05-11 12:58:44 UTC) #50
jgruber
Woohoo, finally passes all tests. Please take another quick pass. https://codereview.chromium.org/2847923003/diff/80001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2847923003/diff/80001/src/code-stub-assembler.cc#newcode3289 ...
3 years, 7 months ago (2017-05-18 14:33:36 UTC) #59
Igor Sheludko
lgtm
3 years, 7 months ago (2017-05-18 15:06:31 UTC) #60
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/2847923003/200001
3 years, 7 months ago (2017-05-18 15:45:02 UTC) #63
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://chromium.googlesource.com/v8/v8/+/b14a981496ad1f841683479d2f9188dfa2d6b4bd
3 years, 7 months ago (2017-05-18 15:46:50 UTC) #66
Michael Achenbach
A revert of this CL (patchset #11 id:200001) has been created in https://codereview.chromium.org/2892023002/ by machenbach@chromium.org. ...
3 years, 7 months ago (2017-05-18 18:43:57 UTC) #67
jgruber
On 2017/05/18 18:43:57, Michael Achenbach wrote: > A revert of this CL (patchset #11 id:200001) ...
3 years, 7 months ago (2017-05-19 08:43:13 UTC) #71
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/2847923003/220001
3 years, 7 months ago (2017-05-22 06:54:13 UTC) #76
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/22584) v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 7 months ago (2017-05-22 06:55:40 UTC) #78
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/2847923003/260001
3 years, 7 months ago (2017-05-22 08:05:25 UTC) #87
commit-bot: I haz the power
Committed patchset #14 (id:260001) as https://chromium.googlesource.com/v8/v8/+/62b0de1ef53816d6dae3fa519a846f942b701dda
3 years, 7 months ago (2017-05-22 08:07:08 UTC) #90
jgruber
A revert of this CL (patchset #14 id:260001) has been created in https://codereview.chromium.org/2893253002/ by jgruber@chromium.org. ...
3 years, 7 months ago (2017-05-22 09:07:06 UTC) #91
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/2847923003/280001
3 years, 6 months ago (2017-05-30 14:19:03 UTC) #99
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 14:23:29 UTC) #102
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://chromium.googlesource.com/v8/v8/+/9ca164d05114008ba21e7e65da29271392c...

Powered by Google App Engine
This is Rietveld 408576698