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 #include "src/arm/lithium-codegen-arm.h" | 7 #include "src/arm/lithium-codegen-arm.h" |
8 #include "src/arm/lithium-gap-resolver-arm.h" | 8 #include "src/arm/lithium-gap-resolver-arm.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 3206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3217 case FLOAT64_ELEMENTS: | 3217 case FLOAT64_ELEMENTS: |
3218 case EXTERNAL_FLOAT32_ELEMENTS: | 3218 case EXTERNAL_FLOAT32_ELEMENTS: |
3219 case EXTERNAL_FLOAT64_ELEMENTS: | 3219 case EXTERNAL_FLOAT64_ELEMENTS: |
3220 case FAST_HOLEY_DOUBLE_ELEMENTS: | 3220 case FAST_HOLEY_DOUBLE_ELEMENTS: |
3221 case FAST_HOLEY_ELEMENTS: | 3221 case FAST_HOLEY_ELEMENTS: |
3222 case FAST_HOLEY_SMI_ELEMENTS: | 3222 case FAST_HOLEY_SMI_ELEMENTS: |
3223 case FAST_DOUBLE_ELEMENTS: | 3223 case FAST_DOUBLE_ELEMENTS: |
3224 case FAST_ELEMENTS: | 3224 case FAST_ELEMENTS: |
3225 case FAST_SMI_ELEMENTS: | 3225 case FAST_SMI_ELEMENTS: |
3226 case DICTIONARY_ELEMENTS: | 3226 case DICTIONARY_ELEMENTS: |
3227 case SLOPPY_ARGUMENTS_ELEMENTS: | 3227 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 3228 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
3228 UNREACHABLE(); | 3229 UNREACHABLE(); |
3229 break; | 3230 break; |
3230 } | 3231 } |
3231 } | 3232 } |
3232 } | 3233 } |
3233 | 3234 |
3234 | 3235 |
3235 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { | 3236 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { |
3236 Register elements = ToRegister(instr->elements()); | 3237 Register elements = ToRegister(instr->elements()); |
3237 bool key_is_constant = instr->key()->IsConstantOperand(); | 3238 bool key_is_constant = instr->key()->IsConstantOperand(); |
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4314 case FLOAT64_ELEMENTS: | 4315 case FLOAT64_ELEMENTS: |
4315 case EXTERNAL_FLOAT32_ELEMENTS: | 4316 case EXTERNAL_FLOAT32_ELEMENTS: |
4316 case EXTERNAL_FLOAT64_ELEMENTS: | 4317 case EXTERNAL_FLOAT64_ELEMENTS: |
4317 case FAST_DOUBLE_ELEMENTS: | 4318 case FAST_DOUBLE_ELEMENTS: |
4318 case FAST_ELEMENTS: | 4319 case FAST_ELEMENTS: |
4319 case FAST_SMI_ELEMENTS: | 4320 case FAST_SMI_ELEMENTS: |
4320 case FAST_HOLEY_DOUBLE_ELEMENTS: | 4321 case FAST_HOLEY_DOUBLE_ELEMENTS: |
4321 case FAST_HOLEY_ELEMENTS: | 4322 case FAST_HOLEY_ELEMENTS: |
4322 case FAST_HOLEY_SMI_ELEMENTS: | 4323 case FAST_HOLEY_SMI_ELEMENTS: |
4323 case DICTIONARY_ELEMENTS: | 4324 case DICTIONARY_ELEMENTS: |
4324 case SLOPPY_ARGUMENTS_ELEMENTS: | 4325 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
| 4326 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
4325 UNREACHABLE(); | 4327 UNREACHABLE(); |
4326 break; | 4328 break; |
4327 } | 4329 } |
4328 } | 4330 } |
4329 } | 4331 } |
4330 | 4332 |
4331 | 4333 |
4332 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { | 4334 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { |
4333 DwVfpRegister value = ToDoubleRegister(instr->value()); | 4335 DwVfpRegister value = ToDoubleRegister(instr->value()); |
4334 Register elements = ToRegister(instr->elements()); | 4336 Register elements = ToRegister(instr->elements()); |
(...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5986 __ push(ToRegister(instr->function())); | 5988 __ push(ToRegister(instr->function())); |
5987 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5989 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
5988 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5990 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5989 } | 5991 } |
5990 | 5992 |
5991 | 5993 |
5992 #undef __ | 5994 #undef __ |
5993 | 5995 |
5994 } // namespace internal | 5996 } // namespace internal |
5995 } // namespace v8 | 5997 } // namespace v8 |
OLD | NEW |