| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 V(Uint32ToDouble) \ | 108 V(Uint32ToDouble) \ |
| 109 V(InvokeFunction) \ | 109 V(InvokeFunction) \ |
| 110 V(IsConstructCallAndBranch) \ | 110 V(IsConstructCallAndBranch) \ |
| 111 V(IsObjectAndBranch) \ | 111 V(IsObjectAndBranch) \ |
| 112 V(IsStringAndBranch) \ | 112 V(IsStringAndBranch) \ |
| 113 V(IsSmiAndBranch) \ | 113 V(IsSmiAndBranch) \ |
| 114 V(IsNumberAndBranch) \ | 114 V(IsNumberAndBranch) \ |
| 115 V(IsUndetectableAndBranch) \ | 115 V(IsUndetectableAndBranch) \ |
| 116 V(Label) \ | 116 V(Label) \ |
| 117 V(LazyBailout) \ | 117 V(LazyBailout) \ |
| 118 V(LinkObjectInList) \ |
| 118 V(LoadContextSlot) \ | 119 V(LoadContextSlot) \ |
| 119 V(LoadExternalArrayPointer) \ | 120 V(LoadExternalArrayPointer) \ |
| 120 V(LoadFunctionPrototype) \ | 121 V(LoadFunctionPrototype) \ |
| 121 V(LoadGlobalCell) \ | 122 V(LoadGlobalCell) \ |
| 122 V(LoadGlobalGeneric) \ | 123 V(LoadGlobalGeneric) \ |
| 123 V(LoadKeyed) \ | 124 V(LoadKeyed) \ |
| 124 V(LoadKeyedGeneric) \ | 125 V(LoadKeyedGeneric) \ |
| 125 V(LoadNamedField) \ | 126 V(LoadNamedField) \ |
| 126 V(LoadNamedFieldPolymorphic) \ | 127 V(LoadNamedFieldPolymorphic) \ |
| 127 V(LoadNamedGeneric) \ | 128 V(LoadNamedGeneric) \ |
| (...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1699 LOperand* value() { return inputs_[2]; } | 1700 LOperand* value() { return inputs_[2]; } |
| 1700 | 1701 |
| 1701 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") | 1702 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") |
| 1702 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) | 1703 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) |
| 1703 | 1704 |
| 1704 Handle<Object> name() const { return hydrogen()->name(); } | 1705 Handle<Object> name() const { return hydrogen()->name(); } |
| 1705 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 1706 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
| 1706 }; | 1707 }; |
| 1707 | 1708 |
| 1708 | 1709 |
| 1710 class LLinkObjectInList: public LTemplateInstruction<0, 1, 1> { |
| 1711 public: |
| 1712 explicit LLinkObjectInList(LOperand* object, LOperand* temp) { |
| 1713 inputs_[0] = object; |
| 1714 temps_[0] = temp; |
| 1715 } |
| 1716 |
| 1717 LOperand* object() { return inputs_[0]; } |
| 1718 LOperand* temp() { return temps_[0]; } |
| 1719 |
| 1720 ExternalReference GetReference(Isolate* isolate); |
| 1721 |
| 1722 DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList, "link-object-in-list") |
| 1723 DECLARE_HYDROGEN_ACCESSOR(LinkObjectInList) |
| 1724 |
| 1725 virtual void PrintDataTo(StringStream* stream); |
| 1726 }; |
| 1727 |
| 1728 |
| 1709 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { | 1729 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { |
| 1710 public: | 1730 public: |
| 1711 explicit LLoadContextSlot(LOperand* context) { | 1731 explicit LLoadContextSlot(LOperand* context) { |
| 1712 inputs_[0] = context; | 1732 inputs_[0] = context; |
| 1713 } | 1733 } |
| 1714 | 1734 |
| 1715 LOperand* context() { return inputs_[0]; } | 1735 LOperand* context() { return inputs_[0]; } |
| 1716 | 1736 |
| 1717 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") | 1737 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") |
| 1718 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) | 1738 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) |
| (...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2934 | 2954 |
| 2935 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2955 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2936 }; | 2956 }; |
| 2937 | 2957 |
| 2938 #undef DECLARE_HYDROGEN_ACCESSOR | 2958 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2939 #undef DECLARE_CONCRETE_INSTRUCTION | 2959 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2940 | 2960 |
| 2941 } } // namespace v8::internal | 2961 } } // namespace v8::internal |
| 2942 | 2962 |
| 2943 #endif // V8_IA32_LITHIUM_IA32_H_ | 2963 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |