Skip to content

Commit 3e4952c

Browse files
Junliang YanV8 LUCI CQ
authored andcommitted
[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 <[email protected]> Reviewed-by: Toon Verwaest <[email protected]> Cr-Commit-Position: refs/heads/main@{#86267}
1 parent 9d03746 commit 3e4952c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cctest/compiler/test-operator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ TEST(TestOperator1double_Equals) {
210210
CHECK(!op2b.Equals(&op1a));
211211
CHECK(!op2b.Equals(&op1b));
212212

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

215215
CHECK(!op1a.Equals(&op3));
216216
CHECK(!op1b.Equals(&op3));

0 commit comments

Comments
 (0)