OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/compiler/simplified-lowering.h" | 5 #include "src/compiler/simplified-lowering.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/address-map.h" | 9 #include "src/address-map.h" |
10 #include "src/base/bits.h" | 10 #include "src/base/bits.h" |
(...skipping 2471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2482 return; | 2482 return; |
2483 } | 2483 } |
2484 case IrOpcode::kObjectIsString: { | 2484 case IrOpcode::kObjectIsString: { |
2485 VisitObjectIs(node, Type::String(), lowering); | 2485 VisitObjectIs(node, Type::String(), lowering); |
2486 return; | 2486 return; |
2487 } | 2487 } |
2488 case IrOpcode::kObjectIsUndetectable: { | 2488 case IrOpcode::kObjectIsUndetectable: { |
2489 VisitObjectIs(node, Type::Undetectable(), lowering); | 2489 VisitObjectIs(node, Type::Undetectable(), lowering); |
2490 return; | 2490 return; |
2491 } | 2491 } |
| 2492 case IrOpcode::kNewRestParameterElements: |
| 2493 case IrOpcode::kNewUnmappedArgumentsElements: { |
| 2494 ProcessRemainingInputs(node, 0); |
| 2495 SetOutput(node, MachineRepresentation::kTaggedPointer); |
| 2496 return; |
| 2497 } |
2492 case IrOpcode::kArrayBufferWasNeutered: { | 2498 case IrOpcode::kArrayBufferWasNeutered: { |
2493 VisitUnop(node, UseInfo::AnyTagged(), MachineRepresentation::kBit); | 2499 VisitUnop(node, UseInfo::AnyTagged(), MachineRepresentation::kBit); |
2494 return; | 2500 return; |
2495 } | 2501 } |
2496 case IrOpcode::kCheckFloat64Hole: { | 2502 case IrOpcode::kCheckFloat64Hole: { |
2497 if (truncation.IsUnused()) return VisitUnused(node); | 2503 if (truncation.IsUnused()) return VisitUnused(node); |
2498 CheckFloat64HoleMode mode = CheckFloat64HoleModeOf(node->op()); | 2504 CheckFloat64HoleMode mode = CheckFloat64HoleModeOf(node->op()); |
2499 ProcessInput(node, 0, UseInfo::TruncatingFloat64()); | 2505 ProcessInput(node, 0, UseInfo::TruncatingFloat64()); |
2500 ProcessRemainingInputs(node, 1); | 2506 ProcessRemainingInputs(node, 1); |
2501 SetOutput(node, MachineRepresentation::kFloat64); | 2507 SetOutput(node, MachineRepresentation::kFloat64); |
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3446 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3452 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
3447 Operator::kNoProperties); | 3453 Operator::kNoProperties); |
3448 to_number_operator_.set(common()->Call(desc)); | 3454 to_number_operator_.set(common()->Call(desc)); |
3449 } | 3455 } |
3450 return to_number_operator_.get(); | 3456 return to_number_operator_.get(); |
3451 } | 3457 } |
3452 | 3458 |
3453 } // namespace compiler | 3459 } // namespace compiler |
3454 } // namespace internal | 3460 } // namespace internal |
3455 } // namespace v8 | 3461 } // namespace v8 |
OLD | NEW |