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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
(...skipping 3073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3084 case EXTERNAL_FLOAT64_ELEMENTS: | 3084 case EXTERNAL_FLOAT64_ELEMENTS: |
3085 case FLOAT32_ELEMENTS: | 3085 case FLOAT32_ELEMENTS: |
3086 case FLOAT64_ELEMENTS: | 3086 case FLOAT64_ELEMENTS: |
3087 case FAST_SMI_ELEMENTS: | 3087 case FAST_SMI_ELEMENTS: |
3088 case FAST_ELEMENTS: | 3088 case FAST_ELEMENTS: |
3089 case FAST_DOUBLE_ELEMENTS: | 3089 case FAST_DOUBLE_ELEMENTS: |
3090 case FAST_HOLEY_SMI_ELEMENTS: | 3090 case FAST_HOLEY_SMI_ELEMENTS: |
3091 case FAST_HOLEY_ELEMENTS: | 3091 case FAST_HOLEY_ELEMENTS: |
3092 case FAST_HOLEY_DOUBLE_ELEMENTS: | 3092 case FAST_HOLEY_DOUBLE_ELEMENTS: |
3093 case DICTIONARY_ELEMENTS: | 3093 case DICTIONARY_ELEMENTS: |
3094 case SLOPPY_ARGUMENTS_ELEMENTS: | 3094 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 3095 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
3095 UNREACHABLE(); | 3096 UNREACHABLE(); |
3096 break; | 3097 break; |
3097 } | 3098 } |
3098 } | 3099 } |
3099 } | 3100 } |
3100 | 3101 |
3101 | 3102 |
3102 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { | 3103 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { |
3103 if (instr->hydrogen()->RequiresHoleCheck()) { | 3104 if (instr->hydrogen()->RequiresHoleCheck()) { |
3104 Operand hole_check_operand = BuildFastArrayOperand( | 3105 Operand hole_check_operand = BuildFastArrayOperand( |
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4184 case EXTERNAL_FLOAT64_ELEMENTS: | 4185 case EXTERNAL_FLOAT64_ELEMENTS: |
4185 case FLOAT32_ELEMENTS: | 4186 case FLOAT32_ELEMENTS: |
4186 case FLOAT64_ELEMENTS: | 4187 case FLOAT64_ELEMENTS: |
4187 case FAST_SMI_ELEMENTS: | 4188 case FAST_SMI_ELEMENTS: |
4188 case FAST_ELEMENTS: | 4189 case FAST_ELEMENTS: |
4189 case FAST_DOUBLE_ELEMENTS: | 4190 case FAST_DOUBLE_ELEMENTS: |
4190 case FAST_HOLEY_SMI_ELEMENTS: | 4191 case FAST_HOLEY_SMI_ELEMENTS: |
4191 case FAST_HOLEY_ELEMENTS: | 4192 case FAST_HOLEY_ELEMENTS: |
4192 case FAST_HOLEY_DOUBLE_ELEMENTS: | 4193 case FAST_HOLEY_DOUBLE_ELEMENTS: |
4193 case DICTIONARY_ELEMENTS: | 4194 case DICTIONARY_ELEMENTS: |
4194 case SLOPPY_ARGUMENTS_ELEMENTS: | 4195 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 4196 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
4195 UNREACHABLE(); | 4197 UNREACHABLE(); |
4196 break; | 4198 break; |
4197 } | 4199 } |
4198 } | 4200 } |
4199 } | 4201 } |
4200 | 4202 |
4201 | 4203 |
4202 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { | 4204 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { |
4203 Operand double_store_operand = BuildFastArrayOperand( | 4205 Operand double_store_operand = BuildFastArrayOperand( |
4204 instr->elements(), | 4206 instr->elements(), |
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5805 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5807 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5806 } | 5808 } |
5807 | 5809 |
5808 | 5810 |
5809 #undef __ | 5811 #undef __ |
5810 | 5812 |
5811 } // namespace internal | 5813 } // namespace internal |
5812 } // namespace v8 | 5814 } // namespace v8 |
5813 | 5815 |
5814 #endif // V8_TARGET_ARCH_IA32 | 5816 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |