| 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 #ifndef V8_X64_LITHIUM_X64_H_ | 5 #ifndef V8_X64_LITHIUM_X64_H_ |
| 6 #define V8_X64_LITHIUM_X64_H_ | 6 #define V8_X64_LITHIUM_X64_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 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1764 | 1764 |
| 1765 int count() const { return count_; } | 1765 int count() const { return count_; } |
| 1766 | 1766 |
| 1767 DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") | 1767 DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") |
| 1768 | 1768 |
| 1769 private: | 1769 private: |
| 1770 int count_; | 1770 int count_; |
| 1771 }; | 1771 }; |
| 1772 | 1772 |
| 1773 | 1773 |
| 1774 class LStoreCodeEntry V8_FINAL: public LTemplateInstruction<0, 1, 1> { | 1774 class LStoreCodeEntry V8_FINAL: public LTemplateInstruction<0, 2, 0> { |
| 1775 public: | 1775 public: |
| 1776 LStoreCodeEntry(LOperand* function, LOperand* code_object) { | 1776 LStoreCodeEntry(LOperand* function, LOperand* code_object) { |
| 1777 inputs_[0] = function; | 1777 inputs_[0] = function; |
| 1778 temps_[0] = code_object; | 1778 inputs_[1] = code_object; |
| 1779 } | 1779 } |
| 1780 | 1780 |
| 1781 LOperand* function() { return inputs_[0]; } | 1781 LOperand* function() { return inputs_[0]; } |
| 1782 LOperand* code_object() { return temps_[0]; } | 1782 LOperand* code_object() { return inputs_[1]; } |
| 1783 | 1783 |
| 1784 virtual void PrintDataTo(StringStream* stream); | 1784 virtual void PrintDataTo(StringStream* stream); |
| 1785 | 1785 |
| 1786 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") | 1786 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") |
| 1787 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) | 1787 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) |
| 1788 }; | 1788 }; |
| 1789 | 1789 |
| 1790 | 1790 |
| 1791 class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 2, 0> { | 1791 class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 2, 0> { |
| 1792 public: | 1792 public: |
| (...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2859 | 2859 |
| 2860 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2860 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2861 }; | 2861 }; |
| 2862 | 2862 |
| 2863 #undef DECLARE_HYDROGEN_ACCESSOR | 2863 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2864 #undef DECLARE_CONCRETE_INSTRUCTION | 2864 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2865 | 2865 |
| 2866 } } // namespace v8::int | 2866 } } // namespace v8::int |
| 2867 | 2867 |
| 2868 #endif // V8_X64_LITHIUM_X64_H_ | 2868 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |