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 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1676 LOperand* value() { return inputs_[1]; } | 1677 LOperand* value() { return inputs_[1]; } |
1677 | 1678 |
1678 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") | 1679 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") |
1679 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) | 1680 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) |
1680 | 1681 |
1681 Handle<Object> name() const { return hydrogen()->name(); } | 1682 Handle<Object> name() const { return hydrogen()->name(); } |
1682 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 1683 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
1683 }; | 1684 }; |
1684 | 1685 |
1685 | 1686 |
| 1687 class LLinkObjectInList: public LTemplateInstruction<0, 1, 0> { |
| 1688 public: |
| 1689 explicit LLinkObjectInList(LOperand* object) { |
| 1690 inputs_[0] = object; |
| 1691 } |
| 1692 |
| 1693 LOperand* object() { return inputs_[0]; } |
| 1694 |
| 1695 ExternalReference GetReference(Isolate* isolate); |
| 1696 |
| 1697 DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList, "link-object-in-list") |
| 1698 DECLARE_HYDROGEN_ACCESSOR(LinkObjectInList) |
| 1699 |
| 1700 virtual void PrintDataTo(StringStream* stream); |
| 1701 }; |
| 1702 |
| 1703 |
1686 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { | 1704 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { |
1687 public: | 1705 public: |
1688 explicit LLoadContextSlot(LOperand* context) { | 1706 explicit LLoadContextSlot(LOperand* context) { |
1689 inputs_[0] = context; | 1707 inputs_[0] = context; |
1690 } | 1708 } |
1691 | 1709 |
1692 LOperand* context() { return inputs_[0]; } | 1710 LOperand* context() { return inputs_[0]; } |
1693 | 1711 |
1694 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") | 1712 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") |
1695 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) | 1713 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) |
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2806 | 2824 |
2807 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2825 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2808 }; | 2826 }; |
2809 | 2827 |
2810 #undef DECLARE_HYDROGEN_ACCESSOR | 2828 #undef DECLARE_HYDROGEN_ACCESSOR |
2811 #undef DECLARE_CONCRETE_INSTRUCTION | 2829 #undef DECLARE_CONCRETE_INSTRUCTION |
2812 | 2830 |
2813 } } // namespace v8::internal | 2831 } } // namespace v8::internal |
2814 | 2832 |
2815 #endif // V8_ARM_LITHIUM_ARM_H_ | 2833 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |