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 2503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2514 if (lower()) { | 2514 if (lower()) { |
2515 NodeProperties::ChangeOp(node, | 2515 NodeProperties::ChangeOp(node, |
2516 simplified()->PlainPrimitiveToFloat64()); | 2516 simplified()->PlainPrimitiveToFloat64()); |
2517 } | 2517 } |
2518 } | 2518 } |
2519 } else { | 2519 } else { |
2520 VisitUnop(node, UseInfo::AnyTagged(), MachineRepresentation::kTagged); | 2520 VisitUnop(node, UseInfo::AnyTagged(), MachineRepresentation::kTagged); |
2521 } | 2521 } |
2522 return; | 2522 return; |
2523 } | 2523 } |
2524 case IrOpcode::kObjectIsCallable: { | 2524 case IrOpcode::kObjectIsDetectableCallable: { |
2525 VisitObjectIs(node, Type::Callable(), lowering); | 2525 VisitObjectIs(node, Type::DetectableCallable(), lowering); |
2526 return; | 2526 return; |
2527 } | 2527 } |
2528 case IrOpcode::kObjectIsNonCallable: { | 2528 case IrOpcode::kObjectIsNonCallable: { |
2529 VisitObjectIs(node, Type::NonCallable(), lowering); | 2529 VisitObjectIs(node, Type::NonCallable(), lowering); |
2530 return; | 2530 return; |
2531 } | 2531 } |
2532 case IrOpcode::kObjectIsNumber: { | 2532 case IrOpcode::kObjectIsNumber: { |
2533 VisitObjectIs(node, Type::Number(), lowering); | 2533 VisitObjectIs(node, Type::Number(), lowering); |
2534 return; | 2534 return; |
2535 } | 2535 } |
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3513 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3513 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
3514 Operator::kNoProperties); | 3514 Operator::kNoProperties); |
3515 to_number_operator_.set(common()->Call(desc)); | 3515 to_number_operator_.set(common()->Call(desc)); |
3516 } | 3516 } |
3517 return to_number_operator_.get(); | 3517 return to_number_operator_.get(); |
3518 } | 3518 } |
3519 | 3519 |
3520 } // namespace compiler | 3520 } // namespace compiler |
3521 } // namespace internal | 3521 } // namespace internal |
3522 } // namespace v8 | 3522 } // namespace v8 |
OLD | NEW |