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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 V(Uint32ToDouble) \ | 113 V(Uint32ToDouble) \ |
114 V(InvokeFunction) \ | 114 V(InvokeFunction) \ |
115 V(IsConstructCallAndBranch) \ | 115 V(IsConstructCallAndBranch) \ |
116 V(IsObjectAndBranch) \ | 116 V(IsObjectAndBranch) \ |
117 V(IsStringAndBranch) \ | 117 V(IsStringAndBranch) \ |
118 V(IsNumberAndBranch) \ | 118 V(IsNumberAndBranch) \ |
119 V(IsSmiAndBranch) \ | 119 V(IsSmiAndBranch) \ |
120 V(IsUndetectableAndBranch) \ | 120 V(IsUndetectableAndBranch) \ |
121 V(Label) \ | 121 V(Label) \ |
122 V(LazyBailout) \ | 122 V(LazyBailout) \ |
| 123 V(LinkObjectInList) \ |
123 V(LoadContextSlot) \ | 124 V(LoadContextSlot) \ |
124 V(LoadExternalArrayPointer) \ | 125 V(LoadExternalArrayPointer) \ |
125 V(LoadFunctionPrototype) \ | 126 V(LoadFunctionPrototype) \ |
126 V(LoadGlobalCell) \ | 127 V(LoadGlobalCell) \ |
127 V(LoadGlobalGeneric) \ | 128 V(LoadGlobalGeneric) \ |
128 V(LoadKeyed) \ | 129 V(LoadKeyed) \ |
129 V(LoadKeyedGeneric) \ | 130 V(LoadKeyedGeneric) \ |
130 V(LoadNamedField) \ | 131 V(LoadNamedField) \ |
131 V(LoadNamedFieldPolymorphic) \ | 132 V(LoadNamedFieldPolymorphic) \ |
132 V(LoadNamedGeneric) \ | 133 V(LoadNamedGeneric) \ |
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1655 LOperand* value() { return inputs_[1]; } | 1656 LOperand* value() { return inputs_[1]; } |
1656 | 1657 |
1657 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") | 1658 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") |
1658 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) | 1659 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) |
1659 | 1660 |
1660 Handle<Object> name() const { return hydrogen()->name(); } | 1661 Handle<Object> name() const { return hydrogen()->name(); } |
1661 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 1662 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
1662 }; | 1663 }; |
1663 | 1664 |
1664 | 1665 |
| 1666 class LLinkObjectInList: public LTemplateInstruction<0, 1, 0> { |
| 1667 public: |
| 1668 explicit LLinkObjectInList(LOperand* object) { |
| 1669 inputs_[0] = object; |
| 1670 } |
| 1671 |
| 1672 LOperand* object() { return inputs_[0]; } |
| 1673 |
| 1674 ExternalReference GetReference(Isolate* isolate); |
| 1675 |
| 1676 DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList, "link-object-in-list") |
| 1677 DECLARE_HYDROGEN_ACCESSOR(LinkObjectInList) |
| 1678 |
| 1679 virtual void PrintDataTo(StringStream* stream); |
| 1680 }; |
| 1681 |
| 1682 |
1665 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { | 1683 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { |
1666 public: | 1684 public: |
1667 explicit LLoadContextSlot(LOperand* context) { | 1685 explicit LLoadContextSlot(LOperand* context) { |
1668 inputs_[0] = context; | 1686 inputs_[0] = context; |
1669 } | 1687 } |
1670 | 1688 |
1671 LOperand* context() { return inputs_[0]; } | 1689 LOperand* context() { return inputs_[0]; } |
1672 | 1690 |
1673 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") | 1691 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") |
1674 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) | 1692 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) |
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2778 | 2796 |
2779 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2780 }; | 2798 }; |
2781 | 2799 |
2782 #undef DECLARE_HYDROGEN_ACCESSOR | 2800 #undef DECLARE_HYDROGEN_ACCESSOR |
2783 #undef DECLARE_CONCRETE_INSTRUCTION | 2801 #undef DECLARE_CONCRETE_INSTRUCTION |
2784 | 2802 |
2785 } } // namespace v8::internal | 2803 } } // namespace v8::internal |
2786 | 2804 |
2787 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2805 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |