Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: src/x87/lithium-x87.h

Issue 1013543004: X87: Remove PropertyCell space (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_X87_LITHIUM_X87_H_ 5 #ifndef V8_X87_LITHIUM_X87_H_
6 #define V8_X87_LITHIUM_X87_H_ 6 #define V8_X87_LITHIUM_X87_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 V(IsConstructCallAndBranch) \ 97 V(IsConstructCallAndBranch) \
98 V(IsObjectAndBranch) \ 98 V(IsObjectAndBranch) \
99 V(IsStringAndBranch) \ 99 V(IsStringAndBranch) \
100 V(IsSmiAndBranch) \ 100 V(IsSmiAndBranch) \
101 V(IsUndetectableAndBranch) \ 101 V(IsUndetectableAndBranch) \
102 V(Label) \ 102 V(Label) \
103 V(LazyBailout) \ 103 V(LazyBailout) \
104 V(LoadContextSlot) \ 104 V(LoadContextSlot) \
105 V(LoadFieldByIndex) \ 105 V(LoadFieldByIndex) \
106 V(LoadFunctionPrototype) \ 106 V(LoadFunctionPrototype) \
107 V(LoadGlobalCell) \
108 V(LoadGlobalGeneric) \ 107 V(LoadGlobalGeneric) \
109 V(LoadKeyed) \ 108 V(LoadKeyed) \
110 V(LoadKeyedGeneric) \ 109 V(LoadKeyedGeneric) \
111 V(LoadNamedField) \ 110 V(LoadNamedField) \
112 V(LoadNamedGeneric) \ 111 V(LoadNamedGeneric) \
113 V(LoadRoot) \ 112 V(LoadRoot) \
114 V(MapEnumLength) \ 113 V(MapEnumLength) \
115 V(MathAbs) \ 114 V(MathAbs) \
116 V(MathClz32) \ 115 V(MathClz32) \
117 V(MathExp) \ 116 V(MathExp) \
(...skipping 20 matching lines...) Expand all
138 V(Return) \ 137 V(Return) \
139 V(SeqStringGetChar) \ 138 V(SeqStringGetChar) \
140 V(SeqStringSetChar) \ 139 V(SeqStringSetChar) \
141 V(ShiftI) \ 140 V(ShiftI) \
142 V(SmiTag) \ 141 V(SmiTag) \
143 V(SmiUntag) \ 142 V(SmiUntag) \
144 V(StackCheck) \ 143 V(StackCheck) \
145 V(StoreCodeEntry) \ 144 V(StoreCodeEntry) \
146 V(StoreContextSlot) \ 145 V(StoreContextSlot) \
147 V(StoreFrameContext) \ 146 V(StoreFrameContext) \
148 V(StoreGlobalCell) \
149 V(StoreKeyed) \ 147 V(StoreKeyed) \
150 V(StoreKeyedGeneric) \ 148 V(StoreKeyedGeneric) \
151 V(StoreNamedField) \ 149 V(StoreNamedField) \
152 V(StoreNamedGeneric) \ 150 V(StoreNamedGeneric) \
153 V(StringAdd) \ 151 V(StringAdd) \
154 V(StringCharCodeAt) \ 152 V(StringCharCodeAt) \
155 V(StringCharFromCode) \ 153 V(StringCharFromCode) \
156 V(StringCompareAndBranch) \ 154 V(StringCompareAndBranch) \
157 V(SubI) \ 155 V(SubI) \
158 V(TaggedToI) \ 156 V(TaggedToI) \
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 LOperand* context() { return inputs_[0]; } 1717 LOperand* context() { return inputs_[0]; }
1720 LOperand* object() { return inputs_[1]; } 1718 LOperand* object() { return inputs_[1]; }
1721 LOperand* key() { return inputs_[2]; } 1719 LOperand* key() { return inputs_[2]; }
1722 LOperand* temp_vector() { return temps_[0]; } 1720 LOperand* temp_vector() { return temps_[0]; }
1723 1721
1724 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") 1722 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic")
1725 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric) 1723 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric)
1726 }; 1724 };
1727 1725
1728 1726
1729 class LLoadGlobalCell FINAL : public LTemplateInstruction<1, 0, 0> {
1730 public:
1731 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell")
1732 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell)
1733 };
1734
1735
1736 class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 2, 1> { 1727 class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 2, 1> {
1737 public: 1728 public:
1738 LLoadGlobalGeneric(LOperand* context, LOperand* global_object, 1729 LLoadGlobalGeneric(LOperand* context, LOperand* global_object,
1739 LOperand* vector) { 1730 LOperand* vector) {
1740 inputs_[0] = context; 1731 inputs_[0] = context;
1741 inputs_[1] = global_object; 1732 inputs_[1] = global_object;
1742 temps_[0] = vector; 1733 temps_[0] = vector;
1743 } 1734 }
1744 1735
1745 LOperand* context() { return inputs_[0]; } 1736 LOperand* context() { return inputs_[0]; }
1746 LOperand* global_object() { return inputs_[1]; } 1737 LOperand* global_object() { return inputs_[1]; }
1747 LOperand* temp_vector() { return temps_[0]; } 1738 LOperand* temp_vector() { return temps_[0]; }
1748 1739
1749 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1740 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1750 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1741 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1751 1742
1752 Handle<Object> name() const { return hydrogen()->name(); } 1743 Handle<Object> name() const { return hydrogen()->name(); }
1753 bool for_typeof() const { return hydrogen()->for_typeof(); } 1744 bool for_typeof() const { return hydrogen()->for_typeof(); }
1754 }; 1745 };
1755 1746
1756 1747
1757 class LStoreGlobalCell FINAL : public LTemplateInstruction<0, 1, 0> {
1758 public:
1759 explicit LStoreGlobalCell(LOperand* value) {
1760 inputs_[0] = value;
1761 }
1762
1763 LOperand* value() { return inputs_[0]; }
1764
1765 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1766 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1767 };
1768
1769
1770 class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> { 1748 class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> {
1771 public: 1749 public:
1772 explicit LLoadContextSlot(LOperand* context) { 1750 explicit LLoadContextSlot(LOperand* context) {
1773 inputs_[0] = context; 1751 inputs_[0] = context;
1774 } 1752 }
1775 1753
1776 LOperand* context() { return inputs_[0]; } 1754 LOperand* context() { return inputs_[0]; }
1777 1755
1778 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1756 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1779 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1757 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
2890 2868
2891 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2869 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2892 }; 2870 };
2893 2871
2894 #undef DECLARE_HYDROGEN_ACCESSOR 2872 #undef DECLARE_HYDROGEN_ACCESSOR
2895 #undef DECLARE_CONCRETE_INSTRUCTION 2873 #undef DECLARE_CONCRETE_INSTRUCTION
2896 2874
2897 } } // namespace v8::internal 2875 } } // namespace v8::internal
2898 2876
2899 #endif // V8_X87_LITHIUM_X87_H_ 2877 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698