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

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

Issue 1016803002: 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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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_IA32_LITHIUM_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_IA32_H_
6 #define V8_IA32_LITHIUM_IA32_H_ 6 #define V8_IA32_LITHIUM_IA32_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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 V(IsConstructCallAndBranch) \ 96 V(IsConstructCallAndBranch) \
97 V(IsObjectAndBranch) \ 97 V(IsObjectAndBranch) \
98 V(IsStringAndBranch) \ 98 V(IsStringAndBranch) \
99 V(IsSmiAndBranch) \ 99 V(IsSmiAndBranch) \
100 V(IsUndetectableAndBranch) \ 100 V(IsUndetectableAndBranch) \
101 V(Label) \ 101 V(Label) \
102 V(LazyBailout) \ 102 V(LazyBailout) \
103 V(LoadContextSlot) \ 103 V(LoadContextSlot) \
104 V(LoadFieldByIndex) \ 104 V(LoadFieldByIndex) \
105 V(LoadFunctionPrototype) \ 105 V(LoadFunctionPrototype) \
106 V(LoadGlobalCell) \
107 V(LoadGlobalGeneric) \ 106 V(LoadGlobalGeneric) \
108 V(LoadKeyed) \ 107 V(LoadKeyed) \
109 V(LoadKeyedGeneric) \ 108 V(LoadKeyedGeneric) \
110 V(LoadNamedField) \ 109 V(LoadNamedField) \
111 V(LoadNamedGeneric) \ 110 V(LoadNamedGeneric) \
112 V(LoadRoot) \ 111 V(LoadRoot) \
113 V(MapEnumLength) \ 112 V(MapEnumLength) \
114 V(MathAbs) \ 113 V(MathAbs) \
115 V(MathClz32) \ 114 V(MathClz32) \
116 V(MathExp) \ 115 V(MathExp) \
(...skipping 20 matching lines...) Expand all
137 V(Return) \ 136 V(Return) \
138 V(SeqStringGetChar) \ 137 V(SeqStringGetChar) \
139 V(SeqStringSetChar) \ 138 V(SeqStringSetChar) \
140 V(ShiftI) \ 139 V(ShiftI) \
141 V(SmiTag) \ 140 V(SmiTag) \
142 V(SmiUntag) \ 141 V(SmiUntag) \
143 V(StackCheck) \ 142 V(StackCheck) \
144 V(StoreCodeEntry) \ 143 V(StoreCodeEntry) \
145 V(StoreContextSlot) \ 144 V(StoreContextSlot) \
146 V(StoreFrameContext) \ 145 V(StoreFrameContext) \
147 V(StoreGlobalCell) \
148 V(StoreKeyed) \ 146 V(StoreKeyed) \
149 V(StoreKeyedGeneric) \ 147 V(StoreKeyedGeneric) \
150 V(StoreNamedField) \ 148 V(StoreNamedField) \
151 V(StoreNamedGeneric) \ 149 V(StoreNamedGeneric) \
152 V(StringAdd) \ 150 V(StringAdd) \
153 V(StringCharCodeAt) \ 151 V(StringCharCodeAt) \
154 V(StringCharFromCode) \ 152 V(StringCharFromCode) \
155 V(StringCompareAndBranch) \ 153 V(StringCompareAndBranch) \
156 V(SubI) \ 154 V(SubI) \
157 V(TaggedToI) \ 155 V(TaggedToI) \
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1711 LOperand* context() { return inputs_[0]; } 1709 LOperand* context() { return inputs_[0]; }
1712 LOperand* object() { return inputs_[1]; } 1710 LOperand* object() { return inputs_[1]; }
1713 LOperand* key() { return inputs_[2]; } 1711 LOperand* key() { return inputs_[2]; }
1714 LOperand* temp_vector() { return temps_[0]; } 1712 LOperand* temp_vector() { return temps_[0]; }
1715 1713
1716 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") 1714 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic")
1717 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric) 1715 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric)
1718 }; 1716 };
1719 1717
1720 1718
1721 class LLoadGlobalCell FINAL : public LTemplateInstruction<1, 0, 0> {
1722 public:
1723 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell")
1724 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell)
1725 };
1726
1727
1728 class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 2, 1> { 1719 class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 2, 1> {
1729 public: 1720 public:
1730 LLoadGlobalGeneric(LOperand* context, LOperand* global_object, 1721 LLoadGlobalGeneric(LOperand* context, LOperand* global_object,
1731 LOperand* vector) { 1722 LOperand* vector) {
1732 inputs_[0] = context; 1723 inputs_[0] = context;
1733 inputs_[1] = global_object; 1724 inputs_[1] = global_object;
1734 temps_[0] = vector; 1725 temps_[0] = vector;
1735 } 1726 }
1736 1727
1737 LOperand* context() { return inputs_[0]; } 1728 LOperand* context() { return inputs_[0]; }
1738 LOperand* global_object() { return inputs_[1]; } 1729 LOperand* global_object() { return inputs_[1]; }
1739 LOperand* temp_vector() { return temps_[0]; } 1730 LOperand* temp_vector() { return temps_[0]; }
1740 1731
1741 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1732 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1742 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1733 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1743 1734
1744 Handle<Object> name() const { return hydrogen()->name(); } 1735 Handle<Object> name() const { return hydrogen()->name(); }
1745 bool for_typeof() const { return hydrogen()->for_typeof(); } 1736 bool for_typeof() const { return hydrogen()->for_typeof(); }
1746 }; 1737 };
1747 1738
1748 1739
1749 class LStoreGlobalCell FINAL : public LTemplateInstruction<0, 1, 0> {
1750 public:
1751 explicit LStoreGlobalCell(LOperand* value) {
1752 inputs_[0] = value;
1753 }
1754
1755 LOperand* value() { return inputs_[0]; }
1756
1757 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1758 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1759 };
1760
1761
1762 class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> { 1740 class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> {
1763 public: 1741 public:
1764 explicit LLoadContextSlot(LOperand* context) { 1742 explicit LLoadContextSlot(LOperand* context) {
1765 inputs_[0] = context; 1743 inputs_[0] = context;
1766 } 1744 }
1767 1745
1768 LOperand* context() { return inputs_[0]; } 1746 LOperand* context() { return inputs_[0]; }
1769 1747
1770 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1748 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1771 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1749 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
2878 2856
2879 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2857 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2880 }; 2858 };
2881 2859
2882 #undef DECLARE_HYDROGEN_ACCESSOR 2860 #undef DECLARE_HYDROGEN_ACCESSOR
2883 #undef DECLARE_CONCRETE_INSTRUCTION 2861 #undef DECLARE_CONCRETE_INSTRUCTION
2884 2862
2885 } } // namespace v8::internal 2863 } } // namespace v8::internal
2886 2864
2887 #endif // V8_IA32_LITHIUM_IA32_H_ 2865 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698