| 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 #ifndef V8_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ |
| 6 #define V8_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_ARM64_H_ |
| 7 | 7 |
| 8 #include "hydrogen.h" | 8 #include "hydrogen.h" |
| 9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
| 10 #include "lithium.h" | 10 #include "lithium.h" |
| (...skipping 2434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2445 DECLARE_HYDROGEN_ACCESSOR(StoreKeyed) | 2445 DECLARE_HYDROGEN_ACCESSOR(StoreKeyed) |
| 2446 }; | 2446 }; |
| 2447 | 2447 |
| 2448 | 2448 |
| 2449 class LStoreKeyedExternal V8_FINAL : public LStoreKeyed<1> { | 2449 class LStoreKeyedExternal V8_FINAL : public LStoreKeyed<1> { |
| 2450 public: | 2450 public: |
| 2451 LStoreKeyedExternal(LOperand* elements, LOperand* key, LOperand* value, | 2451 LStoreKeyedExternal(LOperand* elements, LOperand* key, LOperand* value, |
| 2452 LOperand* temp) : | 2452 LOperand* temp) : |
| 2453 LStoreKeyed<1>(elements, key, value) { | 2453 LStoreKeyed<1>(elements, key, value) { |
| 2454 temps_[0] = temp; | 2454 temps_[0] = temp; |
| 2455 }; | 2455 } |
| 2456 | 2456 |
| 2457 LOperand* temp() { return temps_[0]; } | 2457 LOperand* temp() { return temps_[0]; } |
| 2458 | 2458 |
| 2459 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedExternal, "store-keyed-external") | 2459 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedExternal, "store-keyed-external") |
| 2460 }; | 2460 }; |
| 2461 | 2461 |
| 2462 | 2462 |
| 2463 class LStoreKeyedFixed V8_FINAL : public LStoreKeyed<1> { | 2463 class LStoreKeyedFixed V8_FINAL : public LStoreKeyed<1> { |
| 2464 public: | 2464 public: |
| 2465 LStoreKeyedFixed(LOperand* elements, LOperand* key, LOperand* value, | 2465 LStoreKeyedFixed(LOperand* elements, LOperand* key, LOperand* value, |
| 2466 LOperand* temp) : | 2466 LOperand* temp) : |
| 2467 LStoreKeyed<1>(elements, key, value) { | 2467 LStoreKeyed<1>(elements, key, value) { |
| 2468 temps_[0] = temp; | 2468 temps_[0] = temp; |
| 2469 }; | 2469 } |
| 2470 | 2470 |
| 2471 LOperand* temp() { return temps_[0]; } | 2471 LOperand* temp() { return temps_[0]; } |
| 2472 | 2472 |
| 2473 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFixed, "store-keyed-fixed") | 2473 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFixed, "store-keyed-fixed") |
| 2474 }; | 2474 }; |
| 2475 | 2475 |
| 2476 | 2476 |
| 2477 class LStoreKeyedFixedDouble V8_FINAL : public LStoreKeyed<1> { | 2477 class LStoreKeyedFixedDouble V8_FINAL : public LStoreKeyed<1> { |
| 2478 public: | 2478 public: |
| 2479 LStoreKeyedFixedDouble(LOperand* elements, LOperand* key, LOperand* value, | 2479 LStoreKeyedFixedDouble(LOperand* elements, LOperand* key, LOperand* value, |
| 2480 LOperand* temp) : | 2480 LOperand* temp) : |
| 2481 LStoreKeyed<1>(elements, key, value) { | 2481 LStoreKeyed<1>(elements, key, value) { |
| 2482 temps_[0] = temp; | 2482 temps_[0] = temp; |
| 2483 }; | 2483 } |
| 2484 | 2484 |
| 2485 LOperand* temp() { return temps_[0]; } | 2485 LOperand* temp() { return temps_[0]; } |
| 2486 | 2486 |
| 2487 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFixedDouble, | 2487 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFixedDouble, |
| 2488 "store-keyed-fixed-double") | 2488 "store-keyed-fixed-double") |
| 2489 }; | 2489 }; |
| 2490 | 2490 |
| 2491 | 2491 |
| 2492 class LStoreKeyedGeneric V8_FINAL : public LTemplateInstruction<0, 4, 0> { | 2492 class LStoreKeyedGeneric V8_FINAL : public LTemplateInstruction<0, 4, 0> { |
| 2493 public: | 2493 public: |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3190 | 3190 |
| 3191 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3191 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3192 }; | 3192 }; |
| 3193 | 3193 |
| 3194 #undef DECLARE_HYDROGEN_ACCESSOR | 3194 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3195 #undef DECLARE_CONCRETE_INSTRUCTION | 3195 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3196 | 3196 |
| 3197 } } // namespace v8::internal | 3197 } } // namespace v8::internal |
| 3198 | 3198 |
| 3199 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3199 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
| OLD | NEW |