OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 132 matching lines...) Loading... |
143 V(ShiftI) \ | 143 V(ShiftI) \ |
144 V(SmiTag) \ | 144 V(SmiTag) \ |
145 V(SmiUntag) \ | 145 V(SmiUntag) \ |
146 V(StackCheck) \ | 146 V(StackCheck) \ |
147 V(StoreContextSlot) \ | 147 V(StoreContextSlot) \ |
148 V(StoreGlobal) \ | 148 V(StoreGlobal) \ |
149 V(StoreKeyedFastElement) \ | 149 V(StoreKeyedFastElement) \ |
150 V(StoreKeyedGeneric) \ | 150 V(StoreKeyedGeneric) \ |
151 V(StoreNamedField) \ | 151 V(StoreNamedField) \ |
152 V(StoreNamedGeneric) \ | 152 V(StoreNamedGeneric) \ |
| 153 V(StorePixelArrayElement) \ |
153 V(StringCharCodeAt) \ | 154 V(StringCharCodeAt) \ |
154 V(StringLength) \ | 155 V(StringLength) \ |
155 V(SubI) \ | 156 V(SubI) \ |
156 V(TaggedToI) \ | 157 V(TaggedToI) \ |
157 V(Throw) \ | 158 V(Throw) \ |
158 V(Typeof) \ | 159 V(Typeof) \ |
159 V(TypeofIs) \ | 160 V(TypeofIs) \ |
160 V(TypeofIsAndBranch) \ | 161 V(TypeofIsAndBranch) \ |
161 V(UnaryMathOperation) \ | 162 V(UnaryMathOperation) \ |
162 V(UnknownOSRValue) \ | 163 V(UnknownOSRValue) \ |
(...skipping 1492 matching lines...) Loading... |
1655 public: | 1656 public: |
1656 LStoreKeyedFastElement(LOperand* obj, LOperand* key, LOperand* val) | 1657 LStoreKeyedFastElement(LOperand* obj, LOperand* key, LOperand* val) |
1657 : LStoreKeyed(obj, key, val) {} | 1658 : LStoreKeyed(obj, key, val) {} |
1658 | 1659 |
1659 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastElement, | 1660 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastElement, |
1660 "store-keyed-fast-element") | 1661 "store-keyed-fast-element") |
1661 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastElement) | 1662 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastElement) |
1662 }; | 1663 }; |
1663 | 1664 |
1664 | 1665 |
| 1666 class LStorePixelArrayElement: public LTemplateInstruction<0, 3, 1> { |
| 1667 public: |
| 1668 LStorePixelArrayElement(LOperand* external_pointer, |
| 1669 LOperand* key, |
| 1670 LOperand* val, |
| 1671 LOperand* clamped) { |
| 1672 inputs_[0] = external_pointer; |
| 1673 inputs_[1] = key; |
| 1674 inputs_[2] = val; |
| 1675 temps_[0] = clamped; |
| 1676 } |
| 1677 |
| 1678 DECLARE_CONCRETE_INSTRUCTION(StorePixelArrayElement, |
| 1679 "store-pixel-array-element") |
| 1680 DECLARE_HYDROGEN_ACCESSOR(StorePixelArrayElement) |
| 1681 |
| 1682 LOperand* external_pointer() { return inputs_[0]; } |
| 1683 LOperand* key() { return inputs_[1]; } |
| 1684 LOperand* value() { return inputs_[2]; } |
| 1685 }; |
| 1686 |
| 1687 |
1665 class LStoreKeyedGeneric: public LTemplateInstruction<0, 4, 0> { | 1688 class LStoreKeyedGeneric: public LTemplateInstruction<0, 4, 0> { |
1666 public: | 1689 public: |
1667 LStoreKeyedGeneric(LOperand* context, | 1690 LStoreKeyedGeneric(LOperand* context, |
1668 LOperand* object, | 1691 LOperand* object, |
1669 LOperand* key, | 1692 LOperand* key, |
1670 LOperand* value) { | 1693 LOperand* value) { |
1671 inputs_[0] = context; | 1694 inputs_[0] = context; |
1672 inputs_[1] = object; | 1695 inputs_[1] = object; |
1673 inputs_[2] = key; | 1696 inputs_[2] = key; |
1674 inputs_[3] = value; | 1697 inputs_[3] = value; |
(...skipping 438 matching lines...) Loading... |
2113 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2136 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2114 }; | 2137 }; |
2115 | 2138 |
2116 #undef DECLARE_HYDROGEN_ACCESSOR | 2139 #undef DECLARE_HYDROGEN_ACCESSOR |
2117 #undef DECLARE_INSTRUCTION | 2140 #undef DECLARE_INSTRUCTION |
2118 #undef DECLARE_CONCRETE_INSTRUCTION | 2141 #undef DECLARE_CONCRETE_INSTRUCTION |
2119 | 2142 |
2120 } } // namespace v8::internal | 2143 } } // namespace v8::internal |
2121 | 2144 |
2122 #endif // V8_IA32_LITHIUM_IA32_H_ | 2145 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |