mirror of https://github.com/nodejs/node.git
deps: V8: cherry-pick 3e4952cb2a59
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: 3e4952cb2a
PR-URL: https://github.com/nodejs/node/pull/47236
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
pull/47282/head
parent
9dfd0394c5
commit
ca5c6029fb
|
@ -36,7 +36,7 @@
|
|||
|
||||
# Reset this number to 0 on major V8 upgrades.
|
||||
# Increment by one for each non-official patch applied to deps/v8.
|
||||
'v8_embedder_string': '-node.11',
|
||||
'v8_embedder_string': '-node.12',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue