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 2643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2654 case IrOpcode::kEffectPhi: | 2654 case IrOpcode::kEffectPhi: |
2655 case IrOpcode::kTerminate: | 2655 case IrOpcode::kTerminate: |
2656 case IrOpcode::kFrameState: | 2656 case IrOpcode::kFrameState: |
2657 case IrOpcode::kCheckpoint: | 2657 case IrOpcode::kCheckpoint: |
2658 case IrOpcode::kLoop: | 2658 case IrOpcode::kLoop: |
2659 case IrOpcode::kMerge: | 2659 case IrOpcode::kMerge: |
2660 case IrOpcode::kThrow: | 2660 case IrOpcode::kThrow: |
2661 case IrOpcode::kBeginRegion: | 2661 case IrOpcode::kBeginRegion: |
2662 case IrOpcode::kProjection: | 2662 case IrOpcode::kProjection: |
2663 case IrOpcode::kOsrValue: | 2663 case IrOpcode::kOsrValue: |
| 2664 case IrOpcode::kArgumentsObjectState: |
2664 // All JavaScript operators except JSToNumber have uniform handling. | 2665 // All JavaScript operators except JSToNumber have uniform handling. |
2665 #define OPCODE_CASE(name) case IrOpcode::k##name: | 2666 #define OPCODE_CASE(name) case IrOpcode::k##name: |
2666 JS_SIMPLE_BINOP_LIST(OPCODE_CASE) | 2667 JS_SIMPLE_BINOP_LIST(OPCODE_CASE) |
2667 JS_OTHER_UNOP_LIST(OPCODE_CASE) | 2668 JS_OTHER_UNOP_LIST(OPCODE_CASE) |
2668 JS_OBJECT_OP_LIST(OPCODE_CASE) | 2669 JS_OBJECT_OP_LIST(OPCODE_CASE) |
2669 JS_CONTEXT_OP_LIST(OPCODE_CASE) | 2670 JS_CONTEXT_OP_LIST(OPCODE_CASE) |
2670 JS_OTHER_OP_LIST(OPCODE_CASE) | 2671 JS_OTHER_OP_LIST(OPCODE_CASE) |
2671 #undef OPCODE_CASE | 2672 #undef OPCODE_CASE |
2672 case IrOpcode::kJSToInteger: | 2673 case IrOpcode::kJSToInteger: |
2673 case IrOpcode::kJSToLength: | 2674 case IrOpcode::kJSToLength: |
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3506 isolate(), graph()->zone(), callable.descriptor(), 0, flags, | 3507 isolate(), graph()->zone(), callable.descriptor(), 0, flags, |
3507 Operator::kNoProperties); | 3508 Operator::kNoProperties); |
3508 to_number_operator_.set(common()->Call(desc)); | 3509 to_number_operator_.set(common()->Call(desc)); |
3509 } | 3510 } |
3510 return to_number_operator_.get(); | 3511 return to_number_operator_.get(); |
3511 } | 3512 } |
3512 | 3513 |
3513 } // namespace compiler | 3514 } // namespace compiler |
3514 } // namespace internal | 3515 } // namespace internal |
3515 } // namespace v8 | 3516 } // namespace v8 |
OLD | NEW |