OLD | NEW |
---|---|
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
81 // LConstant | 81 // LConstant |
82 // LConstantD | 82 // LConstantD |
83 // LConstantI | 83 // LConstantI |
84 // LConstantT | 84 // LConstantT |
85 // LDeoptimize | 85 // LDeoptimize |
86 // LFunctionLiteral | 86 // LFunctionLiteral |
87 // LGlobalObject | 87 // LGlobalObject |
88 // LGlobalReceiver | 88 // LGlobalReceiver |
89 // LLabel | 89 // LLabel |
90 // LLayzBailout | 90 // LLayzBailout |
91 // LLoadContextSlot | |
91 // LLoadGlobal | 92 // LLoadGlobal |
92 // LMaterializedLiteral | 93 // LMaterializedLiteral |
93 // LArrayLiteral | 94 // LArrayLiteral |
94 // LObjectLiteral | 95 // LObjectLiteral |
95 // LRegExpLiteral | 96 // LRegExpLiteral |
96 // LOsrEntry | 97 // LOsrEntry |
97 // LParameter | 98 // LParameter |
98 // LRegExpConstructResult | 99 // LRegExpConstructResult |
99 // LStackCheck | 100 // LStackCheck |
100 // LStoreKeyed | 101 // LStoreKeyed |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
209 V(IsSmi) \ | 210 V(IsSmi) \ |
210 V(IsSmiAndBranch) \ | 211 V(IsSmiAndBranch) \ |
211 V(HasInstanceType) \ | 212 V(HasInstanceType) \ |
212 V(HasInstanceTypeAndBranch) \ | 213 V(HasInstanceTypeAndBranch) \ |
213 V(HasCachedArrayIndex) \ | 214 V(HasCachedArrayIndex) \ |
214 V(HasCachedArrayIndexAndBranch) \ | 215 V(HasCachedArrayIndexAndBranch) \ |
215 V(ClassOfTest) \ | 216 V(ClassOfTest) \ |
216 V(ClassOfTestAndBranch) \ | 217 V(ClassOfTestAndBranch) \ |
217 V(Label) \ | 218 V(Label) \ |
218 V(LazyBailout) \ | 219 V(LazyBailout) \ |
220 V(LoadContextSlot) \ | |
219 V(LoadElements) \ | 221 V(LoadElements) \ |
220 V(LoadGlobal) \ | 222 V(LoadGlobal) \ |
221 V(LoadKeyedFastElement) \ | 223 V(LoadKeyedFastElement) \ |
222 V(LoadKeyedGeneric) \ | 224 V(LoadKeyedGeneric) \ |
223 V(LoadNamedField) \ | 225 V(LoadNamedField) \ |
224 V(LoadNamedGeneric) \ | 226 V(LoadNamedGeneric) \ |
225 V(ModI) \ | 227 V(ModI) \ |
226 V(MulI) \ | 228 V(MulI) \ |
227 V(NumberTagD) \ | 229 V(NumberTagD) \ |
228 V(NumberTagI) \ | 230 V(NumberTagI) \ |
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1274 | 1276 |
1275 class LStoreGlobal: public LUnaryOperation { | 1277 class LStoreGlobal: public LUnaryOperation { |
1276 public: | 1278 public: |
1277 explicit LStoreGlobal(LOperand* value) : LUnaryOperation(value) {} | 1279 explicit LStoreGlobal(LOperand* value) : LUnaryOperation(value) {} |
1278 | 1280 |
1279 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") | 1281 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") |
1280 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) | 1282 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) |
1281 }; | 1283 }; |
1282 | 1284 |
1283 | 1285 |
1286 class LLoadContextSlot: public LInstruction { | |
1287 public: | |
fschneider
2010/12/13 19:00:18
Please also implement the PrintDataTo function.
antonm
2010/12/13 22:41:04
Done.
| |
1288 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") | |
1289 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) | |
1290 }; | |
1291 | |
1292 | |
1284 class LPushArgument: public LUnaryOperation { | 1293 class LPushArgument: public LUnaryOperation { |
1285 public: | 1294 public: |
1286 explicit LPushArgument(LOperand* argument) : LUnaryOperation(argument) {} | 1295 explicit LPushArgument(LOperand* argument) : LUnaryOperation(argument) {} |
1287 | 1296 |
1288 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") | 1297 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") |
1289 }; | 1298 }; |
1290 | 1299 |
1291 | 1300 |
1292 class LGlobalObject: public LInstruction { | 1301 class LGlobalObject: public LInstruction { |
1293 public: | 1302 public: |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2073 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2082 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2074 }; | 2083 }; |
2075 | 2084 |
2076 #undef DECLARE_HYDROGEN_ACCESSOR | 2085 #undef DECLARE_HYDROGEN_ACCESSOR |
2077 #undef DECLARE_INSTRUCTION | 2086 #undef DECLARE_INSTRUCTION |
2078 #undef DECLARE_CONCRETE_INSTRUCTION | 2087 #undef DECLARE_CONCRETE_INSTRUCTION |
2079 | 2088 |
2080 } } // namespace v8::internal | 2089 } } // namespace v8::internal |
2081 | 2090 |
2082 #endif // V8_IA32_LITHIUM_IA32_H_ | 2091 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |