| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 V(Power) \ | 155 V(Power) \ |
| 156 V(PushArgument) \ | 156 V(PushArgument) \ |
| 157 V(Random) \ | 157 V(Random) \ |
| 158 V(RegExpLiteral) \ | 158 V(RegExpLiteral) \ |
| 159 V(Return) \ | 159 V(Return) \ |
| 160 V(SeqStringSetChar) \ | 160 V(SeqStringSetChar) \ |
| 161 V(ShiftI) \ | 161 V(ShiftI) \ |
| 162 V(SmiTag) \ | 162 V(SmiTag) \ |
| 163 V(SmiUntag) \ | 163 V(SmiUntag) \ |
| 164 V(StackCheck) \ | 164 V(StackCheck) \ |
| 165 V(StoreCodeEntry) \ |
| 165 V(StoreContextSlot) \ | 166 V(StoreContextSlot) \ |
| 166 V(StoreGlobalCell) \ | 167 V(StoreGlobalCell) \ |
| 167 V(StoreGlobalGeneric) \ | 168 V(StoreGlobalGeneric) \ |
| 168 V(StoreKeyed) \ | 169 V(StoreKeyed) \ |
| 169 V(StoreKeyedGeneric) \ | 170 V(StoreKeyedGeneric) \ |
| 170 V(StoreNamedField) \ | 171 V(StoreNamedField) \ |
| 171 V(StoreNamedGeneric) \ | 172 V(StoreNamedGeneric) \ |
| 172 V(StringAdd) \ | 173 V(StringAdd) \ |
| 173 V(StringCharCodeAt) \ | 174 V(StringCharCodeAt) \ |
| 174 V(StringCharFromCode) \ | 175 V(StringCharFromCode) \ |
| (...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1746 | 1747 |
| 1747 int count() const { return count_; } | 1748 int count() const { return count_; } |
| 1748 | 1749 |
| 1749 DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") | 1750 DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") |
| 1750 | 1751 |
| 1751 private: | 1752 private: |
| 1752 int count_; | 1753 int count_; |
| 1753 }; | 1754 }; |
| 1754 | 1755 |
| 1755 | 1756 |
| 1756 class LInnerAllocatedObject V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1757 class LStoreCodeEntry V8_FINAL: public LTemplateInstruction<0, 1, 1> { |
| 1758 public: |
| 1759 LStoreCodeEntry(LOperand* function, LOperand* code_object) { |
| 1760 inputs_[0] = function; |
| 1761 temps_[0] = code_object; |
| 1762 } |
| 1763 |
| 1764 LOperand* function() { return inputs_[0]; } |
| 1765 LOperand* code_object() { return temps_[0]; } |
| 1766 |
| 1767 virtual void PrintDataTo(StringStream* stream); |
| 1768 |
| 1769 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") |
| 1770 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) |
| 1771 }; |
| 1772 |
| 1773 |
| 1774 class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 1, 0> { |
| 1757 public: | 1775 public: |
| 1758 explicit LInnerAllocatedObject(LOperand* base_object) { | 1776 explicit LInnerAllocatedObject(LOperand* base_object) { |
| 1759 inputs_[0] = base_object; | 1777 inputs_[0] = base_object; |
| 1760 } | 1778 } |
| 1761 | 1779 |
| 1762 LOperand* base_object() { return inputs_[0]; } | 1780 LOperand* base_object() { return inputs_[0]; } |
| 1763 int offset() { return hydrogen()->offset(); } | 1781 int offset() { return hydrogen()->offset(); } |
| 1764 | 1782 |
| 1765 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1783 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 1766 | 1784 |
| (...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2769 | 2787 |
| 2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2788 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2771 }; | 2789 }; |
| 2772 | 2790 |
| 2773 #undef DECLARE_HYDROGEN_ACCESSOR | 2791 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2774 #undef DECLARE_CONCRETE_INSTRUCTION | 2792 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2775 | 2793 |
| 2776 } } // namespace v8::internal | 2794 } } // namespace v8::internal |
| 2777 | 2795 |
| 2778 #endif // V8_ARM_LITHIUM_ARM_H_ | 2796 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |