• Simon Zünd's avatar
    Reland "[torque] Introduce force_assert_statements compiler option" · 2e3862d7
    Simon Zünd authored
    This is a reland of 2d45ecf0
    
    The reland properly initializes struct fields in unittests. To prevent
    this in the future, TorqueCompilerOptions uses brace initialization.
    
    Original change's description:
    > [torque] Introduce force_assert_statements compiler option
    >
    > "assert(...)" statements are usually only visited and generated in
    > debug builds. To provide Language Server support for statements inside
    > asserts, the force_assert_statements option allows to manually
    > override this behavior and visit assert statements in release builds.
    >
    > R=sigurds@chromium.org
    >
    > Bug: v8:7793
    > Change-Id: I38f48e35f2b0a1a98abb74b7babb1edd2d7dba24
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599180
    > Auto-Submit: Simon Zünd <szuend@chromium.org>
    > Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
    > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#61295}
    
    Bug: v8:7793
    Change-Id: I96ef863c8c85ae87a00cbe858655d4a2c9368b41
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1599599
    Auto-Submit: Simon Zünd <szuend@chromium.org>
    Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61315}
    2e3862d7
torque.cc 1.84 KB