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

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

Issue 6794050: Revert "[Arguments] Merge (7442,7496] from bleeding_edge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.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 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 V(IsObjectAndBranch) \ 112 V(IsObjectAndBranch) \
113 V(IsSmi) \ 113 V(IsSmi) \
114 V(IsSmiAndBranch) \ 114 V(IsSmiAndBranch) \
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(LoadFunctionPrototype) \ 121 V(LoadFunctionPrototype) \
122 V(LoadGlobalCell) \ 122 V(LoadGlobal) \
123 V(LoadGlobalGeneric) \
124 V(LoadKeyedFastElement) \ 123 V(LoadKeyedFastElement) \
125 V(LoadKeyedGeneric) \ 124 V(LoadKeyedGeneric) \
126 V(LoadKeyedSpecializedArrayElement) \ 125 V(LoadKeyedSpecializedArrayElement) \
127 V(LoadNamedField) \ 126 V(LoadNamedField) \
128 V(LoadNamedFieldPolymorphic) \ 127 V(LoadNamedFieldPolymorphic) \
129 V(LoadNamedGeneric) \ 128 V(LoadNamedGeneric) \
130 V(ModI) \ 129 V(ModI) \
131 V(MulI) \ 130 V(MulI) \
132 V(NumberTagD) \ 131 V(NumberTagD) \
133 V(NumberTagI) \ 132 V(NumberTagI) \
134 V(NumberUntagD) \ 133 V(NumberUntagD) \
135 V(ObjectLiteral) \ 134 V(ObjectLiteral) \
136 V(OsrEntry) \ 135 V(OsrEntry) \
137 V(OuterContext) \ 136 V(OuterContext) \
138 V(Parameter) \ 137 V(Parameter) \
139 V(Power) \ 138 V(Power) \
140 V(PushArgument) \ 139 V(PushArgument) \
141 V(RegExpLiteral) \ 140 V(RegExpLiteral) \
142 V(Return) \ 141 V(Return) \
143 V(ShiftI) \ 142 V(ShiftI) \
144 V(SmiTag) \ 143 V(SmiTag) \
145 V(SmiUntag) \ 144 V(SmiUntag) \
146 V(StackCheck) \ 145 V(StackCheck) \
147 V(StoreContextSlot) \ 146 V(StoreContextSlot) \
148 V(StoreGlobalCell) \ 147 V(StoreGlobal) \
149 V(StoreGlobalGeneric) \
150 V(StoreKeyedFastElement) \ 148 V(StoreKeyedFastElement) \
151 V(StoreKeyedGeneric) \ 149 V(StoreKeyedGeneric) \
152 V(StoreKeyedSpecializedArrayElement) \ 150 V(StoreKeyedSpecializedArrayElement) \
153 V(StoreNamedField) \ 151 V(StoreNamedField) \
154 V(StoreNamedGeneric) \ 152 V(StoreNamedGeneric) \
155 V(StringCharCodeAt) \ 153 V(StringCharCodeAt) \
156 V(StringCharFromCode) \ 154 V(StringCharFromCode) \
157 V(StringLength) \ 155 V(StringLength) \
158 V(SubI) \ 156 V(SubI) \
159 V(TaggedToI) \ 157 V(TaggedToI) \
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 inputs_[1] = key; 1252 inputs_[1] = key;
1255 } 1253 }
1256 1254
1257 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") 1255 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic")
1258 1256
1259 LOperand* object() { return inputs_[0]; } 1257 LOperand* object() { return inputs_[0]; }
1260 LOperand* key() { return inputs_[1]; } 1258 LOperand* key() { return inputs_[1]; }
1261 }; 1259 };
1262 1260
1263 1261
1264 class LLoadGlobalCell: public LTemplateInstruction<1, 0, 0> { 1262 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> {
1265 public: 1263 public:
1266 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell") 1264 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global")
1267 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell) 1265 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal)
1268 }; 1266 };
1269 1267
1270 1268
1271 class LLoadGlobalGeneric: public LTemplateInstruction<1, 1, 0> { 1269 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> {
1272 public: 1270 public:
1273 explicit LLoadGlobalGeneric(LOperand* global_object) { 1271 LStoreGlobal(LOperand* value, LOperand* temp) {
1274 inputs_[0] = global_object;
1275 }
1276
1277 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1278 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1279
1280 LOperand* global_object() { return inputs_[0]; }
1281 Handle<Object> name() const { return hydrogen()->name(); }
1282 bool for_typeof() const { return hydrogen()->for_typeof(); }
1283 };
1284
1285
1286 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 1> {
1287 public:
1288 LStoreGlobalCell(LOperand* value, LOperand* temp) {
1289 inputs_[0] = value; 1272 inputs_[0] = value;
1290 temps_[0] = temp; 1273 temps_[0] = temp;
1291 } 1274 }
1292 1275
1293 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") 1276 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global")
1294 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) 1277 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal)
1295 }; 1278 };
1296 1279
1297 1280
1298 class LStoreGlobalGeneric: public LTemplateInstruction<0, 2, 0> {
1299 public:
1300 explicit LStoreGlobalGeneric(LOperand* global_object,
1301 LOperand* value) {
1302 inputs_[0] = global_object;
1303 inputs_[1] = value;
1304 }
1305
1306 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic")
1307 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric)
1308
1309 LOperand* global_object() { return InputAt(0); }
1310 Handle<Object> name() const { return hydrogen()->name(); }
1311 LOperand* value() { return InputAt(1); }
1312 };
1313
1314
1315 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { 1281 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> {
1316 public: 1282 public:
1317 explicit LLoadContextSlot(LOperand* context) { 1283 explicit LLoadContextSlot(LOperand* context) {
1318 inputs_[0] = context; 1284 inputs_[0] = context;
1319 } 1285 }
1320 1286
1321 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1287 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1322 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1288 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
1323 1289
1324 LOperand* context() { return InputAt(0); } 1290 LOperand* context() { return InputAt(0); }
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
2170 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2136 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2171 }; 2137 };
2172 2138
2173 #undef DECLARE_HYDROGEN_ACCESSOR 2139 #undef DECLARE_HYDROGEN_ACCESSOR
2174 #undef DECLARE_INSTRUCTION 2140 #undef DECLARE_INSTRUCTION
2175 #undef DECLARE_CONCRETE_INSTRUCTION 2141 #undef DECLARE_CONCRETE_INSTRUCTION
2176 2142
2177 } } // namespace v8::internal 2143 } } // namespace v8::internal
2178 2144
2179 #endif // V8_ARM_LITHIUM_ARM_H_ 2145 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698