| 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 2529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2540 return; | 2540 return; |
| 2541 } | 2541 } |
| 2542 case IrOpcode::kObjectIsString: { | 2542 case IrOpcode::kObjectIsString: { |
| 2543 VisitObjectIs(node, Type::String(), lowering); | 2543 VisitObjectIs(node, Type::String(), lowering); |
| 2544 return; | 2544 return; |
| 2545 } | 2545 } |
| 2546 case IrOpcode::kObjectIsUndetectable: { | 2546 case IrOpcode::kObjectIsUndetectable: { |
| 2547 VisitObjectIs(node, Type::Undetectable(), lowering); | 2547 VisitObjectIs(node, Type::Undetectable(), lowering); |
| 2548 return; | 2548 return; |
| 2549 } | 2549 } |
| 2550 case IrOpcode::kTypeOfIsFunction: { |
| 2551 VisitObjectIs(node, Type::Function(), lowering); |
| 2552 return; |
| 2553 } |
| 2550 case IrOpcode::kNewRestParameterElements: | 2554 case IrOpcode::kNewRestParameterElements: |
| 2551 case IrOpcode::kNewUnmappedArgumentsElements: { | 2555 case IrOpcode::kNewUnmappedArgumentsElements: { |
| 2552 ProcessRemainingInputs(node, 0); | 2556 ProcessRemainingInputs(node, 0); |
| 2553 SetOutput(node, MachineRepresentation::kTaggedPointer); | 2557 SetOutput(node, MachineRepresentation::kTaggedPointer); |
| 2554 return; | 2558 return; |
| 2555 } | 2559 } |
| 2556 case IrOpcode::kArrayBufferWasNeutered: { | 2560 case IrOpcode::kArrayBufferWasNeutered: { |
| 2557 VisitUnop(node, UseInfo::AnyTagged(), MachineRepresentation::kBit); | 2561 VisitUnop(node, UseInfo::AnyTagged(), MachineRepresentation::kBit); |
| 2558 return; | 2562 return; |
| 2559 } | 2563 } |
| (...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3510 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3514 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
| 3511 Operator::kNoProperties); | 3515 Operator::kNoProperties); |
| 3512 to_number_operator_.set(common()->Call(desc)); | 3516 to_number_operator_.set(common()->Call(desc)); |
| 3513 } | 3517 } |
| 3514 return to_number_operator_.get(); | 3518 return to_number_operator_.get(); |
| 3515 } | 3519 } |
| 3516 | 3520 |
| 3517 } // namespace compiler | 3521 } // namespace compiler |
| 3518 } // namespace internal | 3522 } // namespace internal |
| 3519 } // namespace v8 | 3523 } // namespace v8 |
| OLD | NEW |