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

Issue 2419433008: Improve CodeStubAssembler assert functionality (Closed)

Created:
4 years, 2 months ago by danno
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Reland]: Improve CodeStubAssembler assert functionality Introduce CSA_ASSERT macro that outputs a message, file name and line number to console before calling DebugBreak. Committed: https://crrev.com/23836e9c14f3df9b675fe02e2c23bb11e728b83d Committed: https://crrev.com/2f9526523854b112b70af576b98b413914f0d0e3 Cr-Original-Commit-Position: refs/heads/master@{#40307} Cr-Commit-Position: refs/heads/master@{#40322}

Patch Set 1 #

Patch Set 2 : Fix windows #

Total comments: 8

Patch Set 3 : Review feedback #

Total comments: 2

Patch Set 4 : Fix memory leak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -23 lines) Patch
M src/code-stub-assembler.h View 2 chunks +4 lines, -1 line 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 15 chunks +41 lines, -21 lines 0 comments Download
M src/runtime/runtime-test.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 36 (23 generated)
danno
PTAL
4 years, 2 months ago (2016-10-14 09:30:07 UTC) #8
epertoso
https://codereview.chromium.org/2419433008/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2419433008/diff/20001/src/code-stub-assembler.cc#newcode36 src/code-stub-assembler.cc:36: printf("%d\n", buffer.length()); Spurious printf. https://codereview.chromium.org/2419433008/diff/20001/src/code-stub-assembler.cc#newcode39 src/code-stub-assembler.cc:39: Comment(comment); Just Coment("[ ...
4 years, 2 months ago (2016-10-14 09:40:14 UTC) #9
Igor Sheludko
Nice! lgtm with suggestion: https://codereview.chromium.org/2419433008/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2419433008/diff/20001/src/code-stub-assembler.cc#newcode52 src/code-stub-assembler.cc:52: Runtime::kDebugPrint, SmiConstant(Smi::kZero), You can probably ...
4 years, 2 months ago (2016-10-14 09:48:59 UTC) #11
danno
please take another look https://codereview.chromium.org/2419433008/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2419433008/diff/20001/src/code-stub-assembler.cc#newcode36 src/code-stub-assembler.cc:36: printf("%d\n", buffer.length()); On 2016/10/14 09:40:14, ...
4 years, 2 months ago (2016-10-14 10:53:25 UTC) #16
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/2419433008/40001
4 years, 2 months ago (2016-10-14 11:25:39 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-14 11:28:20 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/23836e9c14f3df9b675fe02e2c23bb11e728b83d Cr-Commit-Position: refs/heads/master@{#40307}
4 years, 2 months ago (2016-10-14 11:28:56 UTC) #24
Michael Achenbach
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2414373002/ by machenbach@chromium.org. ...
4 years, 2 months ago (2016-10-14 12:32:03 UTC) #25
jgruber
https://codereview.chromium.org/2419433008/diff/40001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2419433008/diff/40001/src/code-stub-assembler.cc#newcode41 src/code-stub-assembler.cc:41: if (message != nullptr) { Drive-by-comment: Allocate buffer in ...
4 years, 2 months ago (2016-10-14 12:34:17 UTC) #27
danno
Memory leak addressed https://codereview.chromium.org/2419433008/diff/40001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2419433008/diff/40001/src/code-stub-assembler.cc#newcode41 src/code-stub-assembler.cc:41: if (message != nullptr) { On ...
4 years, 2 months ago (2016-10-14 14:50:34 UTC) #29
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/2419433008/60001
4 years, 2 months ago (2016-10-14 14:51:04 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-14 15:16:07 UTC) #34
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 15:16:25 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2f9526523854b112b70af576b98b413914f0d0e3
Cr-Commit-Position: refs/heads/master@{#40322}

Powered by Google App Engine
This is Rietveld 408576698