Skip to content

Commit

Permalink
deps: V8: cherry-pick 3e4952cb2a59
Browse files Browse the repository at this point in the history
Original commit message:

    [test] fix uninitialized error

    In op1a.Equals(&op3) call, that->parameter() is undefined.
    which triggers uninitialized error from gcc.

    Change-Id: I87f1fcba3e57adbb5a1e745a3d787c62a87fd1d3
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4307714
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#86267}

Refs: v8/v8@3e4952c
PR-URL: #47236
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
richardlau authored and danielleadams committed Jul 6, 2023
1 parent 2091b47 commit 966ba28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/v8/test/cctest/compiler/test-operator.cc
Expand Up @@ -210,7 +210,7 @@ TEST(TestOperator1double_Equals) {
CHECK(!op2b.Equals(&op1a));
CHECK(!op2b.Equals(&op1b));

Operator op3(25, NONE, "Weepy", 0, 0, 0, 0, 0, 0);
Operator1<double> op3(25, NONE, "Weepy", 0, 0, 0, 0, 0, 0, 1.1);

CHECK(!op1a.Equals(&op3));
CHECK(!op1b.Equals(&op3));
Expand Down

0 comments on commit 966ba28

Please sign in to comment.