deps: patch V8 to 9.0.257.17 · nodejs/node@8e80fc7 · GitHub
Skip to content

Commit 8e80fc7

Browse files
targosjasnell
authored andcommitted
deps: patch V8 to 9.0.257.17
Refs: v8/v8@9.0.257.16...9.0.257.17 PR-URL: #38237 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b4363f7 commit 8e80fc7

3 files changed

Lines changed: 60 additions & 2 deletions

File tree

deps/v8/include/v8-version.h

Lines changed: 1 addition & 1 deletion

deps/v8/src/compiler/backend/x64/instruction-selector-x64.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,9 @@ void InstructionSelector::VisitChangeInt32ToInt64(Node* node) {
13961396
opcode = load_rep.IsSigned() ? kX64Movsxwq : kX64Movzxwq;
13971397
break;
13981398
case MachineRepresentation::kWord32:
1399-
opcode = load_rep.IsSigned() ? kX64Movsxlq : kX64Movl;
1399+
// ChangeInt32ToInt64 must interpret its input as a _signed_ 32-bit
1400+
// integer, so here we must sign-extend the loaded value in any case.
1401+
opcode = kX64Movsxlq;
14001402
break;
14011403
default:
14021404
UNREACHABLE();
Lines changed: 56 additions & 0 deletions

0 commit comments

Comments
 (0)