| 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 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1794 LOperand* function() { return inputs_[0]; } | 1794 LOperand* function() { return inputs_[0]; } |
| 1795 LOperand* code_object() { return temps_[0]; } | 1795 LOperand* code_object() { return temps_[0]; } |
| 1796 | 1796 |
| 1797 virtual void PrintDataTo(StringStream* stream); | 1797 virtual void PrintDataTo(StringStream* stream); |
| 1798 | 1798 |
| 1799 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") | 1799 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") |
| 1800 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) | 1800 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) |
| 1801 }; | 1801 }; |
| 1802 | 1802 |
| 1803 | 1803 |
| 1804 class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 1, 0> { | 1804 class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 2, 0> { |
| 1805 public: | 1805 public: |
| 1806 explicit LInnerAllocatedObject(LOperand* base_object) { | 1806 LInnerAllocatedObject(LOperand* base_object, LOperand* offset) { |
| 1807 inputs_[0] = base_object; | 1807 inputs_[0] = base_object; |
| 1808 inputs_[1] = offset; |
| 1808 } | 1809 } |
| 1809 | 1810 |
| 1810 LOperand* base_object() { return inputs_[0]; } | 1811 LOperand* base_object() const { return inputs_[0]; } |
| 1811 int offset() { return hydrogen()->offset(); } | 1812 LOperand* offset() const { return inputs_[1]; } |
| 1812 | 1813 |
| 1813 virtual void PrintDataTo(StringStream* stream); | 1814 virtual void PrintDataTo(StringStream* stream); |
| 1814 | 1815 |
| 1815 DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "sub-allocated-object") | 1816 DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "inner-allocated-object") |
| 1816 DECLARE_HYDROGEN_ACCESSOR(InnerAllocatedObject) | |
| 1817 }; | 1817 }; |
| 1818 | 1818 |
| 1819 | 1819 |
| 1820 class LThisFunction V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1820 class LThisFunction V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1821 public: | 1821 public: |
| 1822 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") | 1822 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") |
| 1823 DECLARE_HYDROGEN_ACCESSOR(ThisFunction) | 1823 DECLARE_HYDROGEN_ACCESSOR(ThisFunction) |
| 1824 }; | 1824 }; |
| 1825 | 1825 |
| 1826 | 1826 |
| (...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2936 | 2936 |
| 2937 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2937 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2938 }; | 2938 }; |
| 2939 | 2939 |
| 2940 #undef DECLARE_HYDROGEN_ACCESSOR | 2940 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2941 #undef DECLARE_CONCRETE_INSTRUCTION | 2941 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2942 | 2942 |
| 2943 } } // namespace v8::internal | 2943 } } // namespace v8::internal |
| 2944 | 2944 |
| 2945 #endif // V8_IA32_LITHIUM_IA32_H_ | 2945 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |