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

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

Issue 1018333003: PPC: 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/ppc/lithium-codegen-ppc.cc ('k') | src/ppc/lithium-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_PPC_LITHIUM_PPC_H_
6 #define V8_PPC_LITHIUM_PPC_H_ 6 #define V8_PPC_LITHIUM_PPC_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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 V(IsObjectAndBranch) \ 93 V(IsObjectAndBranch) \
94 V(IsStringAndBranch) \ 94 V(IsStringAndBranch) \
95 V(IsSmiAndBranch) \ 95 V(IsSmiAndBranch) \
96 V(IsUndetectableAndBranch) \ 96 V(IsUndetectableAndBranch) \
97 V(Label) \ 97 V(Label) \
98 V(LazyBailout) \ 98 V(LazyBailout) \
99 V(LoadContextSlot) \ 99 V(LoadContextSlot) \
100 V(LoadRoot) \ 100 V(LoadRoot) \
101 V(LoadFieldByIndex) \ 101 V(LoadFieldByIndex) \
102 V(LoadFunctionPrototype) \ 102 V(LoadFunctionPrototype) \
103 V(LoadGlobalCell) \
104 V(LoadGlobalGeneric) \ 103 V(LoadGlobalGeneric) \
105 V(LoadKeyed) \ 104 V(LoadKeyed) \
106 V(LoadKeyedGeneric) \ 105 V(LoadKeyedGeneric) \
107 V(LoadNamedField) \ 106 V(LoadNamedField) \
108 V(LoadNamedGeneric) \ 107 V(LoadNamedGeneric) \
109 V(MapEnumLength) \ 108 V(MapEnumLength) \
110 V(MathAbs) \ 109 V(MathAbs) \
111 V(MathClz32) \ 110 V(MathClz32) \
112 V(MathExp) \ 111 V(MathExp) \
113 V(MathFloor) \ 112 V(MathFloor) \
(...skipping 21 matching lines...) Expand all
135 V(Return) \ 134 V(Return) \
136 V(SeqStringGetChar) \ 135 V(SeqStringGetChar) \
137 V(SeqStringSetChar) \ 136 V(SeqStringSetChar) \
138 V(ShiftI) \ 137 V(ShiftI) \
139 V(SmiTag) \ 138 V(SmiTag) \
140 V(SmiUntag) \ 139 V(SmiUntag) \
141 V(StackCheck) \ 140 V(StackCheck) \
142 V(StoreCodeEntry) \ 141 V(StoreCodeEntry) \
143 V(StoreContextSlot) \ 142 V(StoreContextSlot) \
144 V(StoreFrameContext) \ 143 V(StoreFrameContext) \
145 V(StoreGlobalCell) \
146 V(StoreKeyed) \ 144 V(StoreKeyed) \
147 V(StoreKeyedGeneric) \ 145 V(StoreKeyedGeneric) \
148 V(StoreNamedField) \ 146 V(StoreNamedField) \
149 V(StoreNamedGeneric) \ 147 V(StoreNamedGeneric) \
150 V(StringAdd) \ 148 V(StringAdd) \
151 V(StringCharCodeAt) \ 149 V(StringCharCodeAt) \
152 V(StringCharFromCode) \ 150 V(StringCharFromCode) \
153 V(StringCompareAndBranch) \ 151 V(StringCompareAndBranch) \
154 V(SubI) \ 152 V(SubI) \
155 V(RSubI) \ 153 V(RSubI) \
(...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 LOperand* context() { return inputs_[0]; } 1632 LOperand* context() { return inputs_[0]; }
1635 LOperand* object() { return inputs_[1]; } 1633 LOperand* object() { return inputs_[1]; }
1636 LOperand* key() { return inputs_[2]; } 1634 LOperand* key() { return inputs_[2]; }
1637 LOperand* temp_vector() { return temps_[0]; } 1635 LOperand* temp_vector() { return temps_[0]; }
1638 1636
1639 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") 1637 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic")
1640 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric) 1638 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric)
1641 }; 1639 };
1642 1640
1643 1641
1644 class LLoadGlobalCell FINAL : public LTemplateInstruction<1, 0, 0> {
1645 public:
1646 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell")
1647 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell)
1648 };
1649
1650
1651 class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 2, 1> { 1642 class LLoadGlobalGeneric FINAL : public LTemplateInstruction<1, 2, 1> {
1652 public: 1643 public:
1653 LLoadGlobalGeneric(LOperand* context, LOperand* global_object, 1644 LLoadGlobalGeneric(LOperand* context, LOperand* global_object,
1654 LOperand* vector) { 1645 LOperand* vector) {
1655 inputs_[0] = context; 1646 inputs_[0] = context;
1656 inputs_[1] = global_object; 1647 inputs_[1] = global_object;
1657 temps_[0] = vector; 1648 temps_[0] = vector;
1658 } 1649 }
1659 1650
1660 LOperand* context() { return inputs_[0]; } 1651 LOperand* context() { return inputs_[0]; }
1661 LOperand* global_object() { return inputs_[1]; } 1652 LOperand* global_object() { return inputs_[1]; }
1662 LOperand* temp_vector() { return temps_[0]; } 1653 LOperand* temp_vector() { return temps_[0]; }
1663 1654
1664 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1655 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1665 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1656 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1666 1657
1667 Handle<Object> name() const { return hydrogen()->name(); } 1658 Handle<Object> name() const { return hydrogen()->name(); }
1668 bool for_typeof() const { return hydrogen()->for_typeof(); } 1659 bool for_typeof() const { return hydrogen()->for_typeof(); }
1669 }; 1660 };
1670 1661
1671 1662
1672 class LStoreGlobalCell FINAL : public LTemplateInstruction<0, 1, 1> {
1673 public:
1674 LStoreGlobalCell(LOperand* value, LOperand* temp) {
1675 inputs_[0] = value;
1676 temps_[0] = temp;
1677 }
1678
1679 LOperand* value() { return inputs_[0]; }
1680 LOperand* temp() { return temps_[0]; }
1681
1682 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1683 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1684 };
1685
1686
1687 class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> { 1663 class LLoadContextSlot FINAL : public LTemplateInstruction<1, 1, 0> {
1688 public: 1664 public:
1689 explicit LLoadContextSlot(LOperand* context) { inputs_[0] = context; } 1665 explicit LLoadContextSlot(LOperand* context) { inputs_[0] = context; }
1690 1666
1691 LOperand* context() { return inputs_[0]; } 1667 LOperand* context() { return inputs_[0]; }
1692 1668
1693 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1669 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1694 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1670 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
1695 1671
1696 int slot_index() { return hydrogen()->slot_index(); } 1672 int slot_index() { return hydrogen()->slot_index(); }
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after
2754 2730
2755 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2731 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2756 }; 2732 };
2757 2733
2758 #undef DECLARE_HYDROGEN_ACCESSOR 2734 #undef DECLARE_HYDROGEN_ACCESSOR
2759 #undef DECLARE_CONCRETE_INSTRUCTION 2735 #undef DECLARE_CONCRETE_INSTRUCTION
2760 } 2736 }
2761 } // namespace v8::internal 2737 } // namespace v8::internal
2762 2738
2763 #endif // V8_PPC_LITHIUM_PPC_H_ 2739 #endif // V8_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/lithium-codegen-ppc.cc ('k') | src/ppc/lithium-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698