OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/crankshaft/arm/lithium-codegen-arm.h" | 5 #include "src/crankshaft/arm/lithium-codegen-arm.h" |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/code-factory.h" | 8 #include "src/code-factory.h" |
9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" | 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" |
(...skipping 2928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2939 case FLOAT64_ELEMENTS: | 2939 case FLOAT64_ELEMENTS: |
2940 case FAST_HOLEY_DOUBLE_ELEMENTS: | 2940 case FAST_HOLEY_DOUBLE_ELEMENTS: |
2941 case FAST_HOLEY_ELEMENTS: | 2941 case FAST_HOLEY_ELEMENTS: |
2942 case FAST_HOLEY_SMI_ELEMENTS: | 2942 case FAST_HOLEY_SMI_ELEMENTS: |
2943 case FAST_DOUBLE_ELEMENTS: | 2943 case FAST_DOUBLE_ELEMENTS: |
2944 case FAST_ELEMENTS: | 2944 case FAST_ELEMENTS: |
2945 case FAST_SMI_ELEMENTS: | 2945 case FAST_SMI_ELEMENTS: |
2946 case DICTIONARY_ELEMENTS: | 2946 case DICTIONARY_ELEMENTS: |
2947 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: | 2947 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
2948 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: | 2948 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 2949 case FAST_STRING_WRAPPER_ELEMENTS: |
| 2950 case SLOW_STRING_WRAPPER_ELEMENTS: |
| 2951 case NO_ELEMENTS: |
2949 UNREACHABLE(); | 2952 UNREACHABLE(); |
2950 break; | 2953 break; |
2951 } | 2954 } |
2952 } | 2955 } |
2953 } | 2956 } |
2954 | 2957 |
2955 | 2958 |
2956 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { | 2959 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { |
2957 Register elements = ToRegister(instr->elements()); | 2960 Register elements = ToRegister(instr->elements()); |
2958 bool key_is_constant = instr->key()->IsConstantOperand(); | 2961 bool key_is_constant = instr->key()->IsConstantOperand(); |
(...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4009 case FLOAT64_ELEMENTS: | 4012 case FLOAT64_ELEMENTS: |
4010 case FAST_DOUBLE_ELEMENTS: | 4013 case FAST_DOUBLE_ELEMENTS: |
4011 case FAST_ELEMENTS: | 4014 case FAST_ELEMENTS: |
4012 case FAST_SMI_ELEMENTS: | 4015 case FAST_SMI_ELEMENTS: |
4013 case FAST_HOLEY_DOUBLE_ELEMENTS: | 4016 case FAST_HOLEY_DOUBLE_ELEMENTS: |
4014 case FAST_HOLEY_ELEMENTS: | 4017 case FAST_HOLEY_ELEMENTS: |
4015 case FAST_HOLEY_SMI_ELEMENTS: | 4018 case FAST_HOLEY_SMI_ELEMENTS: |
4016 case DICTIONARY_ELEMENTS: | 4019 case DICTIONARY_ELEMENTS: |
4017 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: | 4020 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
4018 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: | 4021 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 4022 case FAST_STRING_WRAPPER_ELEMENTS: |
| 4023 case SLOW_STRING_WRAPPER_ELEMENTS: |
| 4024 case NO_ELEMENTS: |
4019 UNREACHABLE(); | 4025 UNREACHABLE(); |
4020 break; | 4026 break; |
4021 } | 4027 } |
4022 } | 4028 } |
4023 } | 4029 } |
4024 | 4030 |
4025 | 4031 |
4026 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { | 4032 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { |
4027 DwVfpRegister value = ToDoubleRegister(instr->value()); | 4033 DwVfpRegister value = ToDoubleRegister(instr->value()); |
4028 Register elements = ToRegister(instr->elements()); | 4034 Register elements = ToRegister(instr->elements()); |
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5582 __ push(ToRegister(instr->function())); | 5588 __ push(ToRegister(instr->function())); |
5583 CallRuntime(Runtime::kPushBlockContext, instr); | 5589 CallRuntime(Runtime::kPushBlockContext, instr); |
5584 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5590 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5585 } | 5591 } |
5586 | 5592 |
5587 | 5593 |
5588 #undef __ | 5594 #undef __ |
5589 | 5595 |
5590 } // namespace internal | 5596 } // namespace internal |
5591 } // namespace v8 | 5597 } // namespace v8 |
OLD | NEW |