Skip to content

Commit 49080bc

Browse files
committed
deps: patch V8 to 9.4.146.26
Refs: v8/v8@9.4.146.24...9.4.146.26 PR-URL: #43778 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
1 parent 8e5e5a1 commit 49080bc

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

deps/v8/include/v8-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 9
1212
#define V8_MINOR_VERSION 4
1313
#define V8_BUILD_NUMBER 146
14-
#define V8_PATCH_LEVEL 24
14+
#define V8_PATCH_LEVEL 26
1515

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

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,14 @@ class IA32OperandGenerator final : public OperandGenerator {
9999
bool CanBeImmediate(Node* node) {
100100
switch (node->opcode()) {
101101
case IrOpcode::kInt32Constant:
102-
case IrOpcode::kNumberConstant:
103102
case IrOpcode::kExternalConstant:
104103
case IrOpcode::kRelocatableInt32Constant:
105104
case IrOpcode::kRelocatableInt64Constant:
106105
return true;
106+
case IrOpcode::kNumberConstant: {
107+
const double value = OpParameter<double>(node->op());
108+
return bit_cast<int64_t>(value) == 0;
109+
}
107110
case IrOpcode::kHeapConstant: {
108111
// TODO(bmeurer): We must not dereference handles concurrently. If we
109112
// really have to this here, then we need to find a way to put this

deps/v8/src/compiler/simplified-operator-reducer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Reduction SimplifiedOperatorReducer::Reduce(Node* node) {
7777
case IrOpcode::kChangeInt32ToTagged: {
7878
Int32Matcher m(node->InputAt(0));
7979
if (m.HasResolvedValue()) return ReplaceNumber(m.ResolvedValue());
80-
if (m.IsChangeTaggedToInt32() || m.IsChangeTaggedSignedToInt32()) {
80+
if (m.IsChangeTaggedSignedToInt32()) {
8181
return Replace(m.InputAt(0));
8282
}
8383
break;

0 commit comments

Comments
 (0)