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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 V(JSArrayLength) \ | 115 V(JSArrayLength) \ |
116 V(Label) \ | 116 V(Label) \ |
117 V(LazyBailout) \ | 117 V(LazyBailout) \ |
118 V(LoadContextSlot) \ | 118 V(LoadContextSlot) \ |
119 V(LoadElements) \ | 119 V(LoadElements) \ |
120 V(LoadExternalArrayPointer) \ | 120 V(LoadExternalArrayPointer) \ |
121 V(LoadGlobal) \ | 121 V(LoadGlobal) \ |
122 V(LoadKeyedFastElement) \ | 122 V(LoadKeyedFastElement) \ |
123 V(LoadKeyedGeneric) \ | 123 V(LoadKeyedGeneric) \ |
124 V(LoadNamedField) \ | 124 V(LoadNamedField) \ |
| 125 V(LoadNamedFieldPolymorphic) \ |
125 V(LoadNamedGeneric) \ | 126 V(LoadNamedGeneric) \ |
126 V(LoadFunctionPrototype) \ | 127 V(LoadFunctionPrototype) \ |
127 V(LoadPixelArrayElement) \ | 128 V(LoadPixelArrayElement) \ |
128 V(ModI) \ | 129 V(ModI) \ |
129 V(MulI) \ | 130 V(MulI) \ |
130 V(NumberTagD) \ | 131 V(NumberTagD) \ |
131 V(NumberTagI) \ | 132 V(NumberTagI) \ |
132 V(NumberUntagD) \ | 133 V(NumberUntagD) \ |
133 V(ObjectLiteral) \ | 134 V(ObjectLiteral) \ |
134 V(OsrEntry) \ | 135 V(OsrEntry) \ |
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 public: | 1128 public: |
1128 explicit LLoadNamedField(LOperand* object) { | 1129 explicit LLoadNamedField(LOperand* object) { |
1129 inputs_[0] = object; | 1130 inputs_[0] = object; |
1130 } | 1131 } |
1131 | 1132 |
1132 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") | 1133 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") |
1133 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) | 1134 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) |
1134 }; | 1135 }; |
1135 | 1136 |
1136 | 1137 |
| 1138 class LLoadNamedFieldPolymorphic: public LTemplateInstruction<1, 1, 0> { |
| 1139 public: |
| 1140 explicit LLoadNamedFieldPolymorphic(LOperand* object) { |
| 1141 inputs_[0] = object; |
| 1142 } |
| 1143 |
| 1144 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field-polymorphic") |
| 1145 DECLARE_HYDROGEN_ACCESSOR(LoadNamedFieldPolymorphic) |
| 1146 |
| 1147 LOperand* object() { return inputs_[0]; } |
| 1148 }; |
| 1149 |
| 1150 |
1137 class LLoadNamedGeneric: public LTemplateInstruction<1, 1, 0> { | 1151 class LLoadNamedGeneric: public LTemplateInstruction<1, 1, 0> { |
1138 public: | 1152 public: |
1139 explicit LLoadNamedGeneric(LOperand* object) { | 1153 explicit LLoadNamedGeneric(LOperand* object) { |
1140 inputs_[0] = object; | 1154 inputs_[0] = object; |
1141 } | 1155 } |
1142 | 1156 |
1143 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") | 1157 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") |
1144 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) | 1158 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) |
1145 | 1159 |
1146 LOperand* object() { return inputs_[0]; } | 1160 LOperand* object() { return inputs_[0]; } |
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2097 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2111 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2098 }; | 2112 }; |
2099 | 2113 |
2100 #undef DECLARE_HYDROGEN_ACCESSOR | 2114 #undef DECLARE_HYDROGEN_ACCESSOR |
2101 #undef DECLARE_INSTRUCTION | 2115 #undef DECLARE_INSTRUCTION |
2102 #undef DECLARE_CONCRETE_INSTRUCTION | 2116 #undef DECLARE_CONCRETE_INSTRUCTION |
2103 | 2117 |
2104 } } // namespace v8::int | 2118 } } // namespace v8::int |
2105 | 2119 |
2106 #endif // V8_X64_LITHIUM_X64_H_ | 2120 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |