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/crankshaft/arm64/lithium-codegen-arm64.h" | 5 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" |
6 | 6 |
7 #include "src/arm64/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.h" |
8 #include "src/base/bits.h" | 8 #include "src/base/bits.h" |
9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 3168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3179 case FLOAT64_ELEMENTS: | 3179 case FLOAT64_ELEMENTS: |
3180 case FAST_HOLEY_DOUBLE_ELEMENTS: | 3180 case FAST_HOLEY_DOUBLE_ELEMENTS: |
3181 case FAST_HOLEY_ELEMENTS: | 3181 case FAST_HOLEY_ELEMENTS: |
3182 case FAST_HOLEY_SMI_ELEMENTS: | 3182 case FAST_HOLEY_SMI_ELEMENTS: |
3183 case FAST_DOUBLE_ELEMENTS: | 3183 case FAST_DOUBLE_ELEMENTS: |
3184 case FAST_ELEMENTS: | 3184 case FAST_ELEMENTS: |
3185 case FAST_SMI_ELEMENTS: | 3185 case FAST_SMI_ELEMENTS: |
3186 case DICTIONARY_ELEMENTS: | 3186 case DICTIONARY_ELEMENTS: |
3187 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: | 3187 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
3188 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: | 3188 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 3189 case FAST_STRING_WRAPPER_ELEMENTS: |
| 3190 case SLOW_STRING_WRAPPER_ELEMENTS: |
| 3191 case NO_ELEMENTS: |
3189 UNREACHABLE(); | 3192 UNREACHABLE(); |
3190 break; | 3193 break; |
3191 } | 3194 } |
3192 } | 3195 } |
3193 } | 3196 } |
3194 | 3197 |
3195 | 3198 |
3196 MemOperand LCodeGen::PrepareKeyedArrayOperand(Register base, | 3199 MemOperand LCodeGen::PrepareKeyedArrayOperand(Register base, |
3197 Register elements, | 3200 Register elements, |
3198 Register key, | 3201 Register key, |
(...skipping 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4867 case FLOAT64_ELEMENTS: | 4870 case FLOAT64_ELEMENTS: |
4868 case FAST_DOUBLE_ELEMENTS: | 4871 case FAST_DOUBLE_ELEMENTS: |
4869 case FAST_ELEMENTS: | 4872 case FAST_ELEMENTS: |
4870 case FAST_SMI_ELEMENTS: | 4873 case FAST_SMI_ELEMENTS: |
4871 case FAST_HOLEY_DOUBLE_ELEMENTS: | 4874 case FAST_HOLEY_DOUBLE_ELEMENTS: |
4872 case FAST_HOLEY_ELEMENTS: | 4875 case FAST_HOLEY_ELEMENTS: |
4873 case FAST_HOLEY_SMI_ELEMENTS: | 4876 case FAST_HOLEY_SMI_ELEMENTS: |
4874 case DICTIONARY_ELEMENTS: | 4877 case DICTIONARY_ELEMENTS: |
4875 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: | 4878 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
4876 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: | 4879 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 4880 case FAST_STRING_WRAPPER_ELEMENTS: |
| 4881 case SLOW_STRING_WRAPPER_ELEMENTS: |
| 4882 case NO_ELEMENTS: |
4877 UNREACHABLE(); | 4883 UNREACHABLE(); |
4878 break; | 4884 break; |
4879 } | 4885 } |
4880 } | 4886 } |
4881 } | 4887 } |
4882 | 4888 |
4883 | 4889 |
4884 void LCodeGen::DoStoreKeyedFixedDouble(LStoreKeyedFixedDouble* instr) { | 4890 void LCodeGen::DoStoreKeyedFixedDouble(LStoreKeyedFixedDouble* instr) { |
4885 Register elements = ToRegister(instr->elements()); | 4891 Register elements = ToRegister(instr->elements()); |
4886 DoubleRegister value = ToDoubleRegister(instr->value()); | 4892 DoubleRegister value = ToDoubleRegister(instr->value()); |
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5764 Handle<ScopeInfo> scope_info = instr->scope_info(); | 5770 Handle<ScopeInfo> scope_info = instr->scope_info(); |
5765 __ Push(scope_info); | 5771 __ Push(scope_info); |
5766 __ Push(ToRegister(instr->function())); | 5772 __ Push(ToRegister(instr->function())); |
5767 CallRuntime(Runtime::kPushBlockContext, instr); | 5773 CallRuntime(Runtime::kPushBlockContext, instr); |
5768 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5774 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5769 } | 5775 } |
5770 | 5776 |
5771 | 5777 |
5772 } // namespace internal | 5778 } // namespace internal |
5773 } // namespace v8 | 5779 } // namespace v8 |
OLD | NEW |