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/crankshaft/mips64/lithium-codegen-mips64.h" | 5 #include "src/crankshaft/mips64/lithium-codegen-mips64.h" |
6 | 6 |
7 #include "src/code-factory.h" | 7 #include "src/code-factory.h" |
8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/crankshaft/hydrogen-osr.h" | 9 #include "src/crankshaft/hydrogen-osr.h" |
10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h" | 10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h" |
(...skipping 3002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3013 case FLOAT64_ELEMENTS: | 3013 case FLOAT64_ELEMENTS: |
3014 case FAST_DOUBLE_ELEMENTS: | 3014 case FAST_DOUBLE_ELEMENTS: |
3015 case FAST_ELEMENTS: | 3015 case FAST_ELEMENTS: |
3016 case FAST_SMI_ELEMENTS: | 3016 case FAST_SMI_ELEMENTS: |
3017 case FAST_HOLEY_DOUBLE_ELEMENTS: | 3017 case FAST_HOLEY_DOUBLE_ELEMENTS: |
3018 case FAST_HOLEY_ELEMENTS: | 3018 case FAST_HOLEY_ELEMENTS: |
3019 case FAST_HOLEY_SMI_ELEMENTS: | 3019 case FAST_HOLEY_SMI_ELEMENTS: |
3020 case DICTIONARY_ELEMENTS: | 3020 case DICTIONARY_ELEMENTS: |
3021 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: | 3021 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
3022 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: | 3022 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 3023 case FAST_STRING_WRAPPER_ELEMENTS: |
| 3024 case SLOW_STRING_WRAPPER_ELEMENTS: |
| 3025 case NO_ELEMENTS: |
3023 UNREACHABLE(); | 3026 UNREACHABLE(); |
3024 break; | 3027 break; |
3025 } | 3028 } |
3026 } | 3029 } |
3027 } | 3030 } |
3028 | 3031 |
3029 | 3032 |
3030 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { | 3033 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { |
3031 Register elements = ToRegister(instr->elements()); | 3034 Register elements = ToRegister(instr->elements()); |
3032 bool key_is_constant = instr->key()->IsConstantOperand(); | 3035 bool key_is_constant = instr->key()->IsConstantOperand(); |
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4191 case FLOAT64_ELEMENTS: | 4194 case FLOAT64_ELEMENTS: |
4192 case FAST_DOUBLE_ELEMENTS: | 4195 case FAST_DOUBLE_ELEMENTS: |
4193 case FAST_ELEMENTS: | 4196 case FAST_ELEMENTS: |
4194 case FAST_SMI_ELEMENTS: | 4197 case FAST_SMI_ELEMENTS: |
4195 case FAST_HOLEY_DOUBLE_ELEMENTS: | 4198 case FAST_HOLEY_DOUBLE_ELEMENTS: |
4196 case FAST_HOLEY_ELEMENTS: | 4199 case FAST_HOLEY_ELEMENTS: |
4197 case FAST_HOLEY_SMI_ELEMENTS: | 4200 case FAST_HOLEY_SMI_ELEMENTS: |
4198 case DICTIONARY_ELEMENTS: | 4201 case DICTIONARY_ELEMENTS: |
4199 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: | 4202 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
4200 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: | 4203 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
| 4204 case FAST_STRING_WRAPPER_ELEMENTS: |
| 4205 case SLOW_STRING_WRAPPER_ELEMENTS: |
| 4206 case NO_ELEMENTS: |
4201 UNREACHABLE(); | 4207 UNREACHABLE(); |
4202 break; | 4208 break; |
4203 } | 4209 } |
4204 } | 4210 } |
4205 } | 4211 } |
4206 | 4212 |
4207 | 4213 |
4208 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { | 4214 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { |
4209 DoubleRegister value = ToDoubleRegister(instr->value()); | 4215 DoubleRegister value = ToDoubleRegister(instr->value()); |
4210 Register elements = ToRegister(instr->elements()); | 4216 Register elements = ToRegister(instr->elements()); |
(...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5806 __ Push(at, ToRegister(instr->function())); | 5812 __ Push(at, ToRegister(instr->function())); |
5807 CallRuntime(Runtime::kPushBlockContext, instr); | 5813 CallRuntime(Runtime::kPushBlockContext, instr); |
5808 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5814 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5809 } | 5815 } |
5810 | 5816 |
5811 | 5817 |
5812 #undef __ | 5818 #undef __ |
5813 | 5819 |
5814 } // namespace internal | 5820 } // namespace internal |
5815 } // namespace v8 | 5821 } // namespace v8 |
OLD | NEW |