| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 V(Power) \ | 154 V(Power) \ |
| 155 V(PushArgument) \ | 155 V(PushArgument) \ |
| 156 V(Random) \ | 156 V(Random) \ |
| 157 V(RegExpLiteral) \ | 157 V(RegExpLiteral) \ |
| 158 V(Return) \ | 158 V(Return) \ |
| 159 V(SeqStringSetChar) \ | 159 V(SeqStringSetChar) \ |
| 160 V(ShiftI) \ | 160 V(ShiftI) \ |
| 161 V(SmiTag) \ | 161 V(SmiTag) \ |
| 162 V(SmiUntag) \ | 162 V(SmiUntag) \ |
| 163 V(StackCheck) \ | 163 V(StackCheck) \ |
| 164 V(StoreCodeEntry) \ |
| 164 V(StoreContextSlot) \ | 165 V(StoreContextSlot) \ |
| 165 V(StoreGlobalCell) \ | 166 V(StoreGlobalCell) \ |
| 166 V(StoreGlobalGeneric) \ | 167 V(StoreGlobalGeneric) \ |
| 167 V(StoreKeyed) \ | 168 V(StoreKeyed) \ |
| 168 V(StoreKeyedGeneric) \ | 169 V(StoreKeyedGeneric) \ |
| 169 V(StoreNamedField) \ | 170 V(StoreNamedField) \ |
| 170 V(StoreNamedGeneric) \ | 171 V(StoreNamedGeneric) \ |
| 171 V(StringAdd) \ | 172 V(StringAdd) \ |
| 172 V(StringCharCodeAt) \ | 173 V(StringCharCodeAt) \ |
| 173 V(StringCharFromCode) \ | 174 V(StringCharFromCode) \ |
| (...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1724 | 1725 |
| 1725 int count() const { return count_; } | 1726 int count() const { return count_; } |
| 1726 | 1727 |
| 1727 DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") | 1728 DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") |
| 1728 | 1729 |
| 1729 private: | 1730 private: |
| 1730 int count_; | 1731 int count_; |
| 1731 }; | 1732 }; |
| 1732 | 1733 |
| 1733 | 1734 |
| 1734 class LInnerAllocatedObject V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1735 class LStoreCodeEntry V8_FINAL: public LTemplateInstruction<0, 1, 1> { |
| 1736 public: |
| 1737 LStoreCodeEntry(LOperand* function, LOperand* code_object) { |
| 1738 inputs_[0] = function; |
| 1739 temps_[0] = code_object; |
| 1740 } |
| 1741 |
| 1742 LOperand* function() { return inputs_[0]; } |
| 1743 LOperand* code_object() { return temps_[0]; } |
| 1744 |
| 1745 virtual void PrintDataTo(StringStream* stream); |
| 1746 |
| 1747 DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") |
| 1748 DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) |
| 1749 }; |
| 1750 |
| 1751 |
| 1752 class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 1, 0> { |
| 1735 public: | 1753 public: |
| 1736 explicit LInnerAllocatedObject(LOperand* base_object) { | 1754 explicit LInnerAllocatedObject(LOperand* base_object) { |
| 1737 inputs_[0] = base_object; | 1755 inputs_[0] = base_object; |
| 1738 } | 1756 } |
| 1739 | 1757 |
| 1740 LOperand* base_object() { return inputs_[0]; } | 1758 LOperand* base_object() { return inputs_[0]; } |
| 1741 int offset() { return hydrogen()->offset(); } | 1759 int offset() { return hydrogen()->offset(); } |
| 1742 | 1760 |
| 1743 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1761 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 1744 | 1762 |
| (...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2753 | 2771 |
| 2754 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2772 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2755 }; | 2773 }; |
| 2756 | 2774 |
| 2757 #undef DECLARE_HYDROGEN_ACCESSOR | 2775 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2758 #undef DECLARE_CONCRETE_INSTRUCTION | 2776 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2759 | 2777 |
| 2760 } } // namespace v8::internal | 2778 } } // namespace v8::internal |
| 2761 | 2779 |
| 2762 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2780 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |