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 #if V8_TARGET_ARCH_X87 | 5 #if V8_TARGET_ARCH_X87 |
6 | 6 |
7 #include "src/crankshaft/x87/lithium-codegen-x87.h" | 7 #include "src/crankshaft/x87/lithium-codegen-x87.h" |
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 3126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3137 case FLOAT64_ELEMENTS: | 3137 case FLOAT64_ELEMENTS: |
3138 case FAST_SMI_ELEMENTS: | 3138 case FAST_SMI_ELEMENTS: |
3139 case FAST_ELEMENTS: | 3139 case FAST_ELEMENTS: |
3140 case FAST_DOUBLE_ELEMENTS: | 3140 case FAST_DOUBLE_ELEMENTS: |
3141 case FAST_HOLEY_SMI_ELEMENTS: | 3141 case FAST_HOLEY_SMI_ELEMENTS: |
3142 case FAST_HOLEY_ELEMENTS: | 3142 case FAST_HOLEY_ELEMENTS: |
3143 case FAST_HOLEY_DOUBLE_ELEMENTS: | 3143 case FAST_HOLEY_DOUBLE_ELEMENTS: |
3144 case DICTIONARY_ELEMENTS: | 3144 case DICTIONARY_ELEMENTS: |
3145 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: | 3145 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
3146 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: | 3146 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 3147 case FAST_STRING_WRAPPER_ELEMENTS: |
| 3148 case SLOW_STRING_WRAPPER_ELEMENTS: |
| 3149 case NO_ELEMENTS: |
3147 UNREACHABLE(); | 3150 UNREACHABLE(); |
3148 break; | 3151 break; |
3149 } | 3152 } |
3150 } | 3153 } |
3151 } | 3154 } |
3152 | 3155 |
3153 | 3156 |
3154 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { | 3157 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { |
3155 if (instr->hydrogen()->RequiresHoleCheck()) { | 3158 if (instr->hydrogen()->RequiresHoleCheck()) { |
3156 Operand hole_check_operand = BuildFastArrayOperand( | 3159 Operand hole_check_operand = BuildFastArrayOperand( |
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4311 case FLOAT64_ELEMENTS: | 4314 case FLOAT64_ELEMENTS: |
4312 case FAST_SMI_ELEMENTS: | 4315 case FAST_SMI_ELEMENTS: |
4313 case FAST_ELEMENTS: | 4316 case FAST_ELEMENTS: |
4314 case FAST_DOUBLE_ELEMENTS: | 4317 case FAST_DOUBLE_ELEMENTS: |
4315 case FAST_HOLEY_SMI_ELEMENTS: | 4318 case FAST_HOLEY_SMI_ELEMENTS: |
4316 case FAST_HOLEY_ELEMENTS: | 4319 case FAST_HOLEY_ELEMENTS: |
4317 case FAST_HOLEY_DOUBLE_ELEMENTS: | 4320 case FAST_HOLEY_DOUBLE_ELEMENTS: |
4318 case DICTIONARY_ELEMENTS: | 4321 case DICTIONARY_ELEMENTS: |
4319 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: | 4322 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
4320 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: | 4323 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 4324 case FAST_STRING_WRAPPER_ELEMENTS: |
| 4325 case SLOW_STRING_WRAPPER_ELEMENTS: |
| 4326 case NO_ELEMENTS: |
4321 UNREACHABLE(); | 4327 UNREACHABLE(); |
4322 break; | 4328 break; |
4323 } | 4329 } |
4324 } | 4330 } |
4325 } | 4331 } |
4326 | 4332 |
4327 | 4333 |
4328 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { | 4334 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { |
4329 Operand double_store_operand = BuildFastArrayOperand( | 4335 Operand double_store_operand = BuildFastArrayOperand( |
4330 instr->elements(), | 4336 instr->elements(), |
(...skipping 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6017 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6023 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6018 } | 6024 } |
6019 | 6025 |
6020 | 6026 |
6021 #undef __ | 6027 #undef __ |
6022 | 6028 |
6023 } // namespace internal | 6029 } // namespace internal |
6024 } // namespace v8 | 6030 } // namespace v8 |
6025 | 6031 |
6026 #endif // V8_TARGET_ARCH_X87 | 6032 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |