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 #include "src/arm64/lithium-codegen-arm64.h" | 7 #include "src/arm64/lithium-codegen-arm64.h" |
8 #include "src/arm64/lithium-gap-resolver-arm64.h" | 8 #include "src/arm64/lithium-gap-resolver-arm64.h" |
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 3463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3474 case FLOAT64_ELEMENTS: | 3474 case FLOAT64_ELEMENTS: |
3475 case EXTERNAL_FLOAT32_ELEMENTS: | 3475 case EXTERNAL_FLOAT32_ELEMENTS: |
3476 case EXTERNAL_FLOAT64_ELEMENTS: | 3476 case EXTERNAL_FLOAT64_ELEMENTS: |
3477 case FAST_HOLEY_DOUBLE_ELEMENTS: | 3477 case FAST_HOLEY_DOUBLE_ELEMENTS: |
3478 case FAST_HOLEY_ELEMENTS: | 3478 case FAST_HOLEY_ELEMENTS: |
3479 case FAST_HOLEY_SMI_ELEMENTS: | 3479 case FAST_HOLEY_SMI_ELEMENTS: |
3480 case FAST_DOUBLE_ELEMENTS: | 3480 case FAST_DOUBLE_ELEMENTS: |
3481 case FAST_ELEMENTS: | 3481 case FAST_ELEMENTS: |
3482 case FAST_SMI_ELEMENTS: | 3482 case FAST_SMI_ELEMENTS: |
3483 case DICTIONARY_ELEMENTS: | 3483 case DICTIONARY_ELEMENTS: |
3484 case SLOPPY_ARGUMENTS_ELEMENTS: | 3484 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 3485 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
3485 UNREACHABLE(); | 3486 UNREACHABLE(); |
3486 break; | 3487 break; |
3487 } | 3488 } |
3488 } | 3489 } |
3489 } | 3490 } |
3490 | 3491 |
3491 | 3492 |
3492 MemOperand LCodeGen::PrepareKeyedArrayOperand(Register base, | 3493 MemOperand LCodeGen::PrepareKeyedArrayOperand(Register base, |
3493 Register elements, | 3494 Register elements, |
3494 Register key, | 3495 Register key, |
(...skipping 1690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5185 case FLOAT64_ELEMENTS: | 5186 case FLOAT64_ELEMENTS: |
5186 case EXTERNAL_FLOAT32_ELEMENTS: | 5187 case EXTERNAL_FLOAT32_ELEMENTS: |
5187 case EXTERNAL_FLOAT64_ELEMENTS: | 5188 case EXTERNAL_FLOAT64_ELEMENTS: |
5188 case FAST_DOUBLE_ELEMENTS: | 5189 case FAST_DOUBLE_ELEMENTS: |
5189 case FAST_ELEMENTS: | 5190 case FAST_ELEMENTS: |
5190 case FAST_SMI_ELEMENTS: | 5191 case FAST_SMI_ELEMENTS: |
5191 case FAST_HOLEY_DOUBLE_ELEMENTS: | 5192 case FAST_HOLEY_DOUBLE_ELEMENTS: |
5192 case FAST_HOLEY_ELEMENTS: | 5193 case FAST_HOLEY_ELEMENTS: |
5193 case FAST_HOLEY_SMI_ELEMENTS: | 5194 case FAST_HOLEY_SMI_ELEMENTS: |
5194 case DICTIONARY_ELEMENTS: | 5195 case DICTIONARY_ELEMENTS: |
5195 case SLOPPY_ARGUMENTS_ELEMENTS: | 5196 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 5197 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
5196 UNREACHABLE(); | 5198 UNREACHABLE(); |
5197 break; | 5199 break; |
5198 } | 5200 } |
5199 } | 5201 } |
5200 } | 5202 } |
5201 | 5203 |
5202 | 5204 |
5203 void LCodeGen::DoStoreKeyedFixedDouble(LStoreKeyedFixedDouble* instr) { | 5205 void LCodeGen::DoStoreKeyedFixedDouble(LStoreKeyedFixedDouble* instr) { |
5204 Register elements = ToRegister(instr->elements()); | 5206 Register elements = ToRegister(instr->elements()); |
5205 DoubleRegister value = ToDoubleRegister(instr->value()); | 5207 DoubleRegister value = ToDoubleRegister(instr->value()); |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6114 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6116 Handle<ScopeInfo> scope_info = instr->scope_info(); |
6115 __ Push(scope_info); | 6117 __ Push(scope_info); |
6116 __ Push(ToRegister(instr->function())); | 6118 __ Push(ToRegister(instr->function())); |
6117 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6119 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
6118 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6120 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6119 } | 6121 } |
6120 | 6122 |
6121 | 6123 |
6122 } // namespace internal | 6124 } // namespace internal |
6123 } // namespace v8 | 6125 } // namespace v8 |
OLD | NEW |