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

Issue 2489743002: [stubs] Ensure CSA_ASSERT and CSA_SLOW_ASSERT do not produce unused instructions in release mode. (Closed)

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

Description

[stubs] Ensure CSA_ASSERT and CSA_SLOW_ASSERT do not produce unused instructions in release mode. ... and make them applicable outside of CSA. Nice bonus is that the assert condition instructions will now appear inside [Assert / ]Assert brackets. BUG= Committed: https://crrev.com/0700bc1bf82089e10038f62528e375bcb6f22a0c Cr-Commit-Position: refs/heads/master@{#40869}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing comments #

Patch Set 3 : Rebasing #

Patch Set 4 : Post-rebase fixes #

Patch Set 5 : Remove SlowAssert #

Patch Set 6 : ((void)0) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -146 lines) Patch
M src/builtins/builtins-array.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M src/builtins/builtins-regexp.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/builtins/builtins-string.cc View 1 2 3 chunks +13 lines, -13 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 5 2 chunks +13 lines, -6 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 60 chunks +110 lines, -100 lines 0 comments Download
M src/code-stubs.cc View 1 3 chunks +15 lines, -12 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (23 generated)
Igor Sheludko
Benedikt, PTAL interpreter Jakob, PTAL the rest
4 years, 1 month ago (2016-11-08 23:49:45 UTC) #7
Benedikt Meurer
https://codereview.chromium.org/2489743002/diff/1/src/code-stub-assembler.h File src/code-stub-assembler.h (right): https://codereview.chromium.org/2489743002/diff/1/src/code-stub-assembler.h#newcode1266 src/code-stub-assembler.h:1266: #define CSA_ASSERT(x) Assert([&] { return (x); }, #x, __FILE__, ...
4 years, 1 month ago (2016-11-09 04:52:09 UTC) #8
Igor Sheludko
https://codereview.chromium.org/2489743002/diff/1/src/code-stub-assembler.h File src/code-stub-assembler.h (right): https://codereview.chromium.org/2489743002/diff/1/src/code-stub-assembler.h#newcode1266 src/code-stub-assembler.h:1266: #define CSA_ASSERT(x) Assert([&] { return (x); }, #x, __FILE__, ...
4 years, 1 month ago (2016-11-09 12:10:34 UTC) #9
Igor Sheludko
Addressed offline comments. PTAL
4 years, 1 month ago (2016-11-09 16:48:59 UTC) #11
rmcilroy
Interpreter LGTM
4 years, 1 month ago (2016-11-09 17:12:49 UTC) #22
Jakob Kummerow
lgtm
4 years, 1 month ago (2016-11-09 17:46:00 UTC) #25
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/2489743002/120001
4 years, 1 month ago (2016-11-09 17:53:56 UTC) #28
Benedikt Meurer
LGTM, thanks!
4 years, 1 month ago (2016-11-09 18:05:58 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 1 month ago (2016-11-09 18:22:15 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:27:58 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0700bc1bf82089e10038f62528e375bcb6f22a0c
Cr-Commit-Position: refs/heads/master@{#40869}

Powered by Google App Engine
This is Rietveld 408576698