| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1791 LOperand* function() { return inputs_[0]; } | 1791 LOperand* function() { return inputs_[0]; } |
| 1792 LOperand* code_object() { return temps_[0]; } | 1792 LOperand* code_object() { return temps_[0]; } |
| 1793 | 1793 |
| 1794 virtual void PrintDataTo(StringStream* stream); | 1794 virtual void PrintDataTo(StringStream* stream); |
| 1795 | 1795 |
| 1796 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") | 1796 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") |
| 1797 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) | 1797 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) |
| 1798 }; | 1798 }; |
| 1799 | 1799 |
| 1800 | 1800 |
| 1801 class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 1, 0> { | 1801 class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 2, 0> { |
| 1802 public: | 1802 public: |
| 1803 explicit LInnerAllocatedObject(LOperand* base_object) { | 1803 LInnerAllocatedObject(LOperand* base_object, LOperand* offset) { |
| 1804 inputs_[0] = base_object; | 1804 inputs_[0] = base_object; |
| 1805 inputs_[1] = offset; |
| 1805 } | 1806 } |
| 1806 | 1807 |
| 1807 LOperand* base_object() { return inputs_[0]; } | 1808 LOperand* base_object() const { return inputs_[0]; } |
| 1808 int offset() { return hydrogen()->offset(); } | 1809 LOperand* offset() const { return inputs_[1]; } |
| 1809 | 1810 |
| 1810 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1811 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 1811 | 1812 |
| 1812 DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "sub-allocated-object") | 1813 DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "inner-allocated-object") |
| 1813 DECLARE_HYDROGEN_ACCESSOR(InnerAllocatedObject) | |
| 1814 }; | 1814 }; |
| 1815 | 1815 |
| 1816 | 1816 |
| 1817 class LThisFunction V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1817 class LThisFunction V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1818 public: | 1818 public: |
| 1819 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") | 1819 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") |
| 1820 DECLARE_HYDROGEN_ACCESSOR(ThisFunction) | 1820 DECLARE_HYDROGEN_ACCESSOR(ThisFunction) |
| 1821 }; | 1821 }; |
| 1822 | 1822 |
| 1823 | 1823 |
| (...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2913 | 2913 |
| 2914 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2914 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2915 }; | 2915 }; |
| 2916 | 2916 |
| 2917 #undef DECLARE_HYDROGEN_ACCESSOR | 2917 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2918 #undef DECLARE_CONCRETE_INSTRUCTION | 2918 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2919 | 2919 |
| 2920 } } // namespace v8::internal | 2920 } } // namespace v8::internal |
| 2921 | 2921 |
| 2922 #endif // V8_ARM_LITHIUM_ARM_H_ | 2922 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |