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_X87 | 7 #if V8_TARGET_ARCH_X87 |
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 3331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3342 case EXTERNAL_FLOAT64_ELEMENTS: | 3342 case EXTERNAL_FLOAT64_ELEMENTS: |
3343 case FLOAT32_ELEMENTS: | 3343 case FLOAT32_ELEMENTS: |
3344 case FLOAT64_ELEMENTS: | 3344 case FLOAT64_ELEMENTS: |
3345 case FAST_SMI_ELEMENTS: | 3345 case FAST_SMI_ELEMENTS: |
3346 case FAST_ELEMENTS: | 3346 case FAST_ELEMENTS: |
3347 case FAST_DOUBLE_ELEMENTS: | 3347 case FAST_DOUBLE_ELEMENTS: |
3348 case FAST_HOLEY_SMI_ELEMENTS: | 3348 case FAST_HOLEY_SMI_ELEMENTS: |
3349 case FAST_HOLEY_ELEMENTS: | 3349 case FAST_HOLEY_ELEMENTS: |
3350 case FAST_HOLEY_DOUBLE_ELEMENTS: | 3350 case FAST_HOLEY_DOUBLE_ELEMENTS: |
3351 case DICTIONARY_ELEMENTS: | 3351 case DICTIONARY_ELEMENTS: |
3352 case SLOPPY_ARGUMENTS_ELEMENTS: | 3352 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 3353 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
3353 UNREACHABLE(); | 3354 UNREACHABLE(); |
3354 break; | 3355 break; |
3355 } | 3356 } |
3356 } | 3357 } |
3357 } | 3358 } |
3358 | 3359 |
3359 | 3360 |
3360 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { | 3361 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { |
3361 if (instr->hydrogen()->RequiresHoleCheck()) { | 3362 if (instr->hydrogen()->RequiresHoleCheck()) { |
3362 Operand hole_check_operand = BuildFastArrayOperand( | 3363 Operand hole_check_operand = BuildFastArrayOperand( |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4592 case EXTERNAL_FLOAT64_ELEMENTS: | 4593 case EXTERNAL_FLOAT64_ELEMENTS: |
4593 case FLOAT32_ELEMENTS: | 4594 case FLOAT32_ELEMENTS: |
4594 case FLOAT64_ELEMENTS: | 4595 case FLOAT64_ELEMENTS: |
4595 case FAST_SMI_ELEMENTS: | 4596 case FAST_SMI_ELEMENTS: |
4596 case FAST_ELEMENTS: | 4597 case FAST_ELEMENTS: |
4597 case FAST_DOUBLE_ELEMENTS: | 4598 case FAST_DOUBLE_ELEMENTS: |
4598 case FAST_HOLEY_SMI_ELEMENTS: | 4599 case FAST_HOLEY_SMI_ELEMENTS: |
4599 case FAST_HOLEY_ELEMENTS: | 4600 case FAST_HOLEY_ELEMENTS: |
4600 case FAST_HOLEY_DOUBLE_ELEMENTS: | 4601 case FAST_HOLEY_DOUBLE_ELEMENTS: |
4601 case DICTIONARY_ELEMENTS: | 4602 case DICTIONARY_ELEMENTS: |
4602 case SLOPPY_ARGUMENTS_ELEMENTS: | 4603 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 4604 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
4603 UNREACHABLE(); | 4605 UNREACHABLE(); |
4604 break; | 4606 break; |
4605 } | 4607 } |
4606 } | 4608 } |
4607 } | 4609 } |
4608 | 4610 |
4609 | 4611 |
4610 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { | 4612 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { |
4611 Operand double_store_operand = BuildFastArrayOperand( | 4613 Operand double_store_operand = BuildFastArrayOperand( |
4612 instr->elements(), | 4614 instr->elements(), |
(...skipping 1784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6397 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6399 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6398 } | 6400 } |
6399 | 6401 |
6400 | 6402 |
6401 #undef __ | 6403 #undef __ |
6402 | 6404 |
6403 } // namespace internal | 6405 } // namespace internal |
6404 } // namespace v8 | 6406 } // namespace v8 |
6405 | 6407 |
6406 #endif // V8_TARGET_ARCH_X87 | 6408 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |