OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
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 3119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3130 case EXTERNAL_FLOAT64_ELEMENTS: | 3130 case EXTERNAL_FLOAT64_ELEMENTS: |
3131 case FLOAT32_ELEMENTS: | 3131 case FLOAT32_ELEMENTS: |
3132 case FLOAT64_ELEMENTS: | 3132 case FLOAT64_ELEMENTS: |
3133 case FAST_ELEMENTS: | 3133 case FAST_ELEMENTS: |
3134 case FAST_SMI_ELEMENTS: | 3134 case FAST_SMI_ELEMENTS: |
3135 case FAST_DOUBLE_ELEMENTS: | 3135 case FAST_DOUBLE_ELEMENTS: |
3136 case FAST_HOLEY_ELEMENTS: | 3136 case FAST_HOLEY_ELEMENTS: |
3137 case FAST_HOLEY_SMI_ELEMENTS: | 3137 case FAST_HOLEY_SMI_ELEMENTS: |
3138 case FAST_HOLEY_DOUBLE_ELEMENTS: | 3138 case FAST_HOLEY_DOUBLE_ELEMENTS: |
3139 case DICTIONARY_ELEMENTS: | 3139 case DICTIONARY_ELEMENTS: |
3140 case SLOPPY_ARGUMENTS_ELEMENTS: | 3140 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 3141 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
3141 UNREACHABLE(); | 3142 UNREACHABLE(); |
3142 break; | 3143 break; |
3143 } | 3144 } |
3144 } | 3145 } |
3145 } | 3146 } |
3146 | 3147 |
3147 | 3148 |
3148 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { | 3149 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { |
3149 XMMRegister result(ToDoubleRegister(instr->result())); | 3150 XMMRegister result(ToDoubleRegister(instr->result())); |
3150 LOperand* key = instr->key(); | 3151 LOperand* key = instr->key(); |
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4352 case EXTERNAL_FLOAT64_ELEMENTS: | 4353 case EXTERNAL_FLOAT64_ELEMENTS: |
4353 case FLOAT32_ELEMENTS: | 4354 case FLOAT32_ELEMENTS: |
4354 case FLOAT64_ELEMENTS: | 4355 case FLOAT64_ELEMENTS: |
4355 case FAST_ELEMENTS: | 4356 case FAST_ELEMENTS: |
4356 case FAST_SMI_ELEMENTS: | 4357 case FAST_SMI_ELEMENTS: |
4357 case FAST_DOUBLE_ELEMENTS: | 4358 case FAST_DOUBLE_ELEMENTS: |
4358 case FAST_HOLEY_ELEMENTS: | 4359 case FAST_HOLEY_ELEMENTS: |
4359 case FAST_HOLEY_SMI_ELEMENTS: | 4360 case FAST_HOLEY_SMI_ELEMENTS: |
4360 case FAST_HOLEY_DOUBLE_ELEMENTS: | 4361 case FAST_HOLEY_DOUBLE_ELEMENTS: |
4361 case DICTIONARY_ELEMENTS: | 4362 case DICTIONARY_ELEMENTS: |
4362 case SLOPPY_ARGUMENTS_ELEMENTS: | 4363 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 4364 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
4363 UNREACHABLE(); | 4365 UNREACHABLE(); |
4364 break; | 4366 break; |
4365 } | 4367 } |
4366 } | 4368 } |
4367 } | 4369 } |
4368 | 4370 |
4369 | 4371 |
4370 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { | 4372 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { |
4371 XMMRegister value = ToDoubleRegister(instr->value()); | 4373 XMMRegister value = ToDoubleRegister(instr->value()); |
4372 LOperand* key = instr->key(); | 4374 LOperand* key = instr->key(); |
(...skipping 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6005 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6007 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6006 } | 6008 } |
6007 | 6009 |
6008 | 6010 |
6009 #undef __ | 6011 #undef __ |
6010 | 6012 |
6011 } // namespace internal | 6013 } // namespace internal |
6012 } // namespace v8 | 6014 } // namespace v8 |
6013 | 6015 |
6014 #endif // V8_TARGET_ARCH_X64 | 6016 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |