| 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.h" | 9 #include "src/lithium.h" |
| 10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
| (...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1516 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") | 1516 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") |
| 1517 }; | 1517 }; |
| 1518 | 1518 |
| 1519 | 1519 |
| 1520 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { | 1520 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { |
| 1521 public: | 1521 public: |
| 1522 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, | 1522 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, |
| 1523 const ZoneList<LOperand*>& operands, | 1523 const ZoneList<LOperand*>& operands, |
| 1524 Zone* zone) | 1524 Zone* zone) |
| 1525 : descriptor_(descriptor), | 1525 : descriptor_(descriptor), |
| 1526 inputs_(descriptor->environment_length() + 1, zone) { | 1526 inputs_(descriptor->GetEnvironmentLength() + 1, zone) { |
| 1527 ASSERT(descriptor->environment_length() + 1 == operands.length()); | 1527 ASSERT(descriptor->GetEnvironmentLength() + 1 == operands.length()); |
| 1528 inputs_.AddAll(operands, zone); | 1528 inputs_.AddAll(operands, zone); |
| 1529 } | 1529 } |
| 1530 | 1530 |
| 1531 LOperand* target() const { return inputs_[0]; } | 1531 LOperand* target() const { return inputs_[0]; } |
| 1532 | 1532 |
| 1533 const CallInterfaceDescriptor* descriptor() { return descriptor_; } | 1533 const CallInterfaceDescriptor* descriptor() { return descriptor_; } |
| 1534 | 1534 |
| 1535 private: | 1535 private: |
| 1536 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") | 1536 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") |
| 1537 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) | 1537 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) |
| (...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3239 | 3239 |
| 3240 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3240 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3241 }; | 3241 }; |
| 3242 | 3242 |
| 3243 #undef DECLARE_HYDROGEN_ACCESSOR | 3243 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3244 #undef DECLARE_CONCRETE_INSTRUCTION | 3244 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3245 | 3245 |
| 3246 } } // namespace v8::internal | 3246 } } // namespace v8::internal |
| 3247 | 3247 |
| 3248 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3248 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
| OLD | NEW |