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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 V(Integer32ToSmi) \ | 112 V(Integer32ToSmi) \ |
113 V(InvokeFunction) \ | 113 V(InvokeFunction) \ |
114 V(IsConstructCallAndBranch) \ | 114 V(IsConstructCallAndBranch) \ |
115 V(IsObjectAndBranch) \ | 115 V(IsObjectAndBranch) \ |
116 V(IsStringAndBranch) \ | 116 V(IsStringAndBranch) \ |
117 V(IsNumberAndBranch) \ | 117 V(IsNumberAndBranch) \ |
118 V(IsSmiAndBranch) \ | 118 V(IsSmiAndBranch) \ |
119 V(IsUndetectableAndBranch) \ | 119 V(IsUndetectableAndBranch) \ |
120 V(Label) \ | 120 V(Label) \ |
121 V(LazyBailout) \ | 121 V(LazyBailout) \ |
122 V(LinkObjectInList) \ | |
123 V(LoadContextSlot) \ | 122 V(LoadContextSlot) \ |
124 V(LoadExternalArrayPointer) \ | 123 V(LoadExternalArrayPointer) \ |
125 V(LoadFieldByIndex) \ | 124 V(LoadFieldByIndex) \ |
126 V(LoadFunctionPrototype) \ | 125 V(LoadFunctionPrototype) \ |
127 V(LoadGlobalCell) \ | 126 V(LoadGlobalCell) \ |
128 V(LoadGlobalGeneric) \ | 127 V(LoadGlobalGeneric) \ |
129 V(LoadKeyed) \ | 128 V(LoadKeyed) \ |
130 V(LoadKeyedGeneric) \ | 129 V(LoadKeyedGeneric) \ |
131 V(LoadNamedField) \ | 130 V(LoadNamedField) \ |
132 V(LoadNamedFieldPolymorphic) \ | 131 V(LoadNamedFieldPolymorphic) \ |
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1669 LOperand* value() { return inputs_[1]; } | 1668 LOperand* value() { return inputs_[1]; } |
1670 | 1669 |
1671 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") | 1670 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") |
1672 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) | 1671 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) |
1673 | 1672 |
1674 Handle<Object> name() const { return hydrogen()->name(); } | 1673 Handle<Object> name() const { return hydrogen()->name(); } |
1675 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 1674 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
1676 }; | 1675 }; |
1677 | 1676 |
1678 | 1677 |
1679 class LLinkObjectInList: public LTemplateInstruction<0, 1, 0> { | |
1680 public: | |
1681 explicit LLinkObjectInList(LOperand* object) { | |
1682 inputs_[0] = object; | |
1683 } | |
1684 | |
1685 LOperand* object() { return inputs_[0]; } | |
1686 | |
1687 ExternalReference GetReference(Isolate* isolate); | |
1688 | |
1689 DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList, "link-object-in-list") | |
1690 DECLARE_HYDROGEN_ACCESSOR(LinkObjectInList) | |
1691 | |
1692 virtual void PrintDataTo(StringStream* stream); | |
1693 }; | |
1694 | |
1695 | |
1696 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { | 1678 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { |
1697 public: | 1679 public: |
1698 explicit LLoadContextSlot(LOperand* context) { | 1680 explicit LLoadContextSlot(LOperand* context) { |
1699 inputs_[0] = context; | 1681 inputs_[0] = context; |
1700 } | 1682 } |
1701 | 1683 |
1702 LOperand* context() { return inputs_[0]; } | 1684 LOperand* context() { return inputs_[0]; } |
1703 | 1685 |
1704 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") | 1686 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") |
1705 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) | 1687 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) |
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2811 | 2793 |
2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2794 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2813 }; | 2795 }; |
2814 | 2796 |
2815 #undef DECLARE_HYDROGEN_ACCESSOR | 2797 #undef DECLARE_HYDROGEN_ACCESSOR |
2816 #undef DECLARE_CONCRETE_INSTRUCTION | 2798 #undef DECLARE_CONCRETE_INSTRUCTION |
2817 | 2799 |
2818 } } // namespace v8::internal | 2800 } } // namespace v8::internal |
2819 | 2801 |
2820 #endif // V8_ARM_LITHIUM_ARM_H_ | 2802 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |