mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
deps: patch V8 to 9.4.146.26
Refs: https://github.com/v8/v8/compare/9.4.146.24...9.4.146.26 PR-URL: https://github.com/nodejs/node/pull/43778 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
3 files changed
+6
-3
No files matched your search
Vendored
+1
-1
@@ -11,7 +11,7 @@
|
||||
#define V8_MAJOR_VERSION 9
|
||||
#define V8_MINOR_VERSION 4
|
||||
#define V8_BUILD_NUMBER 146
|
||||
#define V8_PATCH_LEVEL 24
|
||||
#define V8_PATCH_LEVEL 26
|
||||
|
||||
// Use 1 for candidates and 0 otherwise.
|
||||
// (Boolean macro values are not supported by all preprocessors.)
|
||||
|
||||
@@ -99,11 +99,14 @@ class IA32OperandGenerator final : public OperandGenerator {
|
||||
bool CanBeImmediate(Node* node) {
|
||||
switch (node->opcode()) {
|
||||
case IrOpcode::kInt32Constant:
|
||||
case IrOpcode::kNumberConstant:
|
||||
case IrOpcode::kExternalConstant:
|
||||
case IrOpcode::kRelocatableInt32Constant:
|
||||
case IrOpcode::kRelocatableInt64Constant:
|
||||
return true;
|
||||
case IrOpcode::kNumberConstant: {
|
||||
const double value = OpParameter<double>(node->op());
|
||||
return bit_cast<int64_t>(value) == 0;
|
||||
}
|
||||
case IrOpcode::kHeapConstant: {
|
||||
// TODO(bmeurer): We must not dereference handles concurrently. If we
|
||||
// really have to this here, then we need to find a way to put this
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@ Reduction SimplifiedOperatorReducer::Reduce(Node* node) {
|
||||
case IrOpcode::kChangeInt32ToTagged: {
|
||||
Int32Matcher m(node->InputAt(0));
|
||||
if (m.HasResolvedValue()) return ReplaceNumber(m.ResolvedValue());
|
||||
if (m.IsChangeTaggedToInt32() || m.IsChangeTaggedSignedToInt32()) {
|
||||
if (m.IsChangeTaggedSignedToInt32()) {
|
||||
return Replace(m.InputAt(0));
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user