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 "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
9 #include "src/lithium-allocator.h" | 9 #include "src/lithium-allocator.h" |
10 #include "src/lithium.h" | 10 #include "src/lithium.h" |
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1511 | 1511 |
1512 LOperand* value() { return inputs_[0]; } | 1512 LOperand* value() { return inputs_[0]; } |
1513 | 1513 |
1514 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") | 1514 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") |
1515 }; | 1515 }; |
1516 | 1516 |
1517 | 1517 |
1518 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { | 1518 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { |
1519 public: | 1519 public: |
1520 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, | 1520 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, |
1521 ZoneList<LOperand*>& operands, | 1521 const ZoneList<LOperand*>& operands, |
1522 Zone* zone) | 1522 Zone* zone) |
1523 : descriptor_(descriptor), | 1523 : descriptor_(descriptor), |
1524 inputs_(descriptor->environment_length() + 1, zone) { | 1524 inputs_(descriptor->environment_length() + 1, zone) { |
1525 ASSERT(descriptor->environment_length() + 1 == operands.length()); | 1525 ASSERT(descriptor->environment_length() + 1 == operands.length()); |
1526 inputs_.AddAll(operands, zone); | 1526 inputs_.AddAll(operands, zone); |
1527 } | 1527 } |
1528 | 1528 |
1529 LOperand* target() const { return inputs_[0]; } | 1529 LOperand* target() const { return inputs_[0]; } |
1530 | 1530 |
1531 const CallInterfaceDescriptor* descriptor() { return descriptor_; } | 1531 const CallInterfaceDescriptor* descriptor() { return descriptor_; } |
(...skipping 1676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3208 | 3208 |
3209 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3209 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3210 }; | 3210 }; |
3211 | 3211 |
3212 #undef DECLARE_HYDROGEN_ACCESSOR | 3212 #undef DECLARE_HYDROGEN_ACCESSOR |
3213 #undef DECLARE_CONCRETE_INSTRUCTION | 3213 #undef DECLARE_CONCRETE_INSTRUCTION |
3214 | 3214 |
3215 } } // namespace v8::internal | 3215 } } // namespace v8::internal |
3216 | 3216 |
3217 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3217 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |