Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6ce589f

Browse filesBrowse files
committed
deps: patch V8 to 6.6.346.31
PR-URL: #20603 Refs: v8/v8@6.6.346.27...6.6.346.31 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 1160d61 commit 6ce589f
Copy full SHA for 6ce589f

File tree

Expand file treeCollapse file tree

17 files changed

+409
-38
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

17 files changed

+409
-38
lines changed
Open diff view settings
Collapse file

‎deps/v8/include/v8-version.h‎

Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 6
1212
#define V8_MINOR_VERSION 6
1313
#define V8_BUILD_NUMBER 346
14-
#define V8_PATCH_LEVEL 27
14+
#define V8_PATCH_LEVEL 31
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)
Collapse file

‎deps/v8/src/builtins/arm/builtins-arm.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/arm/builtins-arm.cc
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,13 @@ static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm,
859859
Label process_bytecode, extra_wide;
860860
STATIC_ASSERT(0 == static_cast<int>(interpreter::Bytecode::kWide));
861861
STATIC_ASSERT(1 == static_cast<int>(interpreter::Bytecode::kExtraWide));
862-
__ cmp(bytecode, Operand(0x1));
862+
STATIC_ASSERT(2 == static_cast<int>(interpreter::Bytecode::kDebugBreakWide));
863+
STATIC_ASSERT(3 ==
864+
static_cast<int>(interpreter::Bytecode::kDebugBreakExtraWide));
865+
__ cmp(bytecode, Operand(0x3));
863866
__ b(hi, &process_bytecode);
864-
__ b(eq, &extra_wide);
867+
__ tst(bytecode, Operand(0x1));
868+
__ b(ne, &extra_wide);
865869

866870
// Load the next bytecode and update table to the wide scaled table.
867871
__ add(bytecode_offset, bytecode_offset, Operand(1));
Collapse file

‎deps/v8/src/builtins/arm64/builtins-arm64.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/arm64/builtins-arm64.cc
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,9 +952,13 @@ static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm,
952952
Label process_bytecode, extra_wide;
953953
STATIC_ASSERT(0 == static_cast<int>(interpreter::Bytecode::kWide));
954954
STATIC_ASSERT(1 == static_cast<int>(interpreter::Bytecode::kExtraWide));
955-
__ Cmp(bytecode, Operand(0x1));
955+
STATIC_ASSERT(2 == static_cast<int>(interpreter::Bytecode::kDebugBreakWide));
956+
STATIC_ASSERT(3 ==
957+
static_cast<int>(interpreter::Bytecode::kDebugBreakExtraWide));
958+
__ Cmp(bytecode, Operand(0x3));
956959
__ B(hi, &process_bytecode);
957-
__ B(eq, &extra_wide);
960+
__ Tst(bytecode, Operand(0x1));
961+
__ B(ne, &extra_wide);
958962

959963
// Load the next bytecode and update table to the wide scaled table.
960964
__ Add(bytecode_offset, bytecode_offset, Operand(1));
Collapse file

‎deps/v8/src/builtins/builtins-promise-gen.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/builtins-promise-gen.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ TF_BUILTIN(PromiseResolveThenableJob, PromiseBuiltinsAssembler) {
999999
// We need to reject the {thenable}.
10001000
Node* const result = CallJS(
10011001
CodeFactory::Call(isolate(), ConvertReceiverMode::kNullOrUndefined),
1002-
native_context, UndefinedConstant(), var_exception.value());
1002+
native_context, reject, UndefinedConstant(), var_exception.value());
10031003
Return(result);
10041004
}
10051005
}
Collapse file

‎deps/v8/src/builtins/ia32/builtins-ia32.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/ia32/builtins-ia32.cc
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,13 @@ static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm,
783783
Label process_bytecode, extra_wide;
784784
STATIC_ASSERT(0 == static_cast<int>(interpreter::Bytecode::kWide));
785785
STATIC_ASSERT(1 == static_cast<int>(interpreter::Bytecode::kExtraWide));
786-
__ cmpb(bytecode, Immediate(0x1));
786+
STATIC_ASSERT(2 == static_cast<int>(interpreter::Bytecode::kDebugBreakWide));
787+
STATIC_ASSERT(3 ==
788+
static_cast<int>(interpreter::Bytecode::kDebugBreakExtraWide));
789+
__ cmpb(bytecode, Immediate(0x3));
787790
__ j(above, &process_bytecode, Label::kNear);
788-
__ j(equal, &extra_wide, Label::kNear);
791+
__ test(bytecode, Immediate(0x1));
792+
__ j(not_equal, &extra_wide, Label::kNear);
789793

790794
// Load the next bytecode and update table to the wide scaled table.
791795
__ inc(bytecode_offset);
Collapse file

‎deps/v8/src/builtins/mips/builtins-mips.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/mips/builtins-mips.cc
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,8 +840,12 @@ static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm,
840840
Label process_bytecode, extra_wide;
841841
STATIC_ASSERT(0 == static_cast<int>(interpreter::Bytecode::kWide));
842842
STATIC_ASSERT(1 == static_cast<int>(interpreter::Bytecode::kExtraWide));
843-
__ Branch(&process_bytecode, hi, bytecode, Operand(1));
844-
__ Branch(&extra_wide, eq, bytecode, Operand(1));
843+
STATIC_ASSERT(2 == static_cast<int>(interpreter::Bytecode::kDebugBreakWide));
844+
STATIC_ASSERT(3 ==
845+
static_cast<int>(interpreter::Bytecode::kDebugBreakExtraWide));
846+
__ Branch(&process_bytecode, hi, bytecode, Operand(3));
847+
__ And(scratch2, bytecode, Operand(1));
848+
__ Branch(&extra_wide, ne, scratch2, Operand(zero_reg));
845849

846850
// Load the next bytecode and update table to the wide scaled table.
847851
__ Addu(bytecode_offset, bytecode_offset, Operand(1));
Collapse file

‎deps/v8/src/builtins/mips64/builtins-mips64.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/mips64/builtins-mips64.cc
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,12 @@ static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm,
837837
Label process_bytecode, extra_wide;
838838
STATIC_ASSERT(0 == static_cast<int>(interpreter::Bytecode::kWide));
839839
STATIC_ASSERT(1 == static_cast<int>(interpreter::Bytecode::kExtraWide));
840-
__ Branch(&process_bytecode, hi, bytecode, Operand(1));
841-
__ Branch(&extra_wide, eq, bytecode, Operand(1));
840+
STATIC_ASSERT(2 == static_cast<int>(interpreter::Bytecode::kDebugBreakWide));
841+
STATIC_ASSERT(3 ==
842+
static_cast<int>(interpreter::Bytecode::kDebugBreakExtraWide));
843+
__ Branch(&process_bytecode, hi, bytecode, Operand(3));
844+
__ And(scratch2, bytecode, Operand(1));
845+
__ Branch(&extra_wide, ne, scratch2, Operand(zero_reg));
842846

843847
// Load the next bytecode and update table to the wide scaled table.
844848
__ Daddu(bytecode_offset, bytecode_offset, Operand(1));
Collapse file

‎deps/v8/src/builtins/ppc/builtins-ppc.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/ppc/builtins-ppc.cc
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,13 @@ static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm,
859859
Label process_bytecode, extra_wide;
860860
STATIC_ASSERT(0 == static_cast<int>(interpreter::Bytecode::kWide));
861861
STATIC_ASSERT(1 == static_cast<int>(interpreter::Bytecode::kExtraWide));
862-
__ cmpi(bytecode, Operand(0x1));
862+
STATIC_ASSERT(2 == static_cast<int>(interpreter::Bytecode::kDebugBreakWide));
863+
STATIC_ASSERT(3 ==
864+
static_cast<int>(interpreter::Bytecode::kDebugBreakExtraWide));
865+
__ cmpi(bytecode, Operand(0x3));
863866
__ bgt(&process_bytecode);
864-
__ beq(&extra_wide);
867+
__ andi(r0, bytecode, Operand(0x1));
868+
__ bne(&extra_wide, cr0);
865869

866870
// Load the next bytecode and update table to the wide scaled table.
867871
__ addi(bytecode_offset, bytecode_offset, Operand(1));
Collapse file

‎deps/v8/src/builtins/s390/builtins-s390.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/s390/builtins-s390.cc
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,9 +861,13 @@ static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm,
861861
Label process_bytecode, extra_wide;
862862
STATIC_ASSERT(0 == static_cast<int>(interpreter::Bytecode::kWide));
863863
STATIC_ASSERT(1 == static_cast<int>(interpreter::Bytecode::kExtraWide));
864-
__ CmpP(bytecode, Operand(0x1));
864+
STATIC_ASSERT(2 == static_cast<int>(interpreter::Bytecode::kDebugBreakWide));
865+
STATIC_ASSERT(3 ==
866+
static_cast<int>(interpreter::Bytecode::kDebugBreakExtraWide));
867+
__ CmpP(bytecode, Operand(0x3));
865868
__ bgt(&process_bytecode);
866-
__ beq(&extra_wide);
869+
__ tmll(bytecode, Operand(0x1));
870+
__ bne(&extra_wide);
867871

868872
// Load the next bytecode and update table to the wide scaled table.
869873
__ AddP(bytecode_offset, bytecode_offset, Operand(1));
Collapse file

‎deps/v8/src/builtins/x64/builtins-x64.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/x64/builtins-x64.cc
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,9 +848,13 @@ static void AdvanceBytecodeOffsetOrReturn(MacroAssembler* masm,
848848
Label process_bytecode, extra_wide;
849849
STATIC_ASSERT(0 == static_cast<int>(interpreter::Bytecode::kWide));
850850
STATIC_ASSERT(1 == static_cast<int>(interpreter::Bytecode::kExtraWide));
851-
__ cmpb(bytecode, Immediate(0x1));
851+
STATIC_ASSERT(2 == static_cast<int>(interpreter::Bytecode::kDebugBreakWide));
852+
STATIC_ASSERT(3 ==
853+
static_cast<int>(interpreter::Bytecode::kDebugBreakExtraWide));
854+
__ cmpb(bytecode, Immediate(0x3));
852855
__ j(above, &process_bytecode, Label::kNear);
853-
__ j(equal, &extra_wide, Label::kNear);
856+
__ testb(bytecode, Immediate(0x1));
857+
__ j(not_equal, &extra_wide, Label::kNear);
854858

855859
// Load the next bytecode and update table to the wide scaled table.
856860
__ incl(bytecode_offset);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.