| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 V(LoadFunctionPrototype) \ | 122 V(LoadFunctionPrototype) \ |
| 123 V(LoadPixelArrayElement) \ | 123 V(LoadPixelArrayElement) \ |
| 124 V(LoadPixelArrayExternalPointer) \ | 124 V(LoadPixelArrayExternalPointer) \ |
| 125 V(ModI) \ | 125 V(ModI) \ |
| 126 V(MulI) \ | 126 V(MulI) \ |
| 127 V(NumberTagD) \ | 127 V(NumberTagD) \ |
| 128 V(NumberTagI) \ | 128 V(NumberTagI) \ |
| 129 V(NumberUntagD) \ | 129 V(NumberUntagD) \ |
| 130 V(ObjectLiteral) \ | 130 V(ObjectLiteral) \ |
| 131 V(OsrEntry) \ | 131 V(OsrEntry) \ |
| 132 V(OuterContext) \ |
| 132 V(Parameter) \ | 133 V(Parameter) \ |
| 133 V(PixelArrayLength) \ | 134 V(PixelArrayLength) \ |
| 134 V(Power) \ | 135 V(Power) \ |
| 135 V(PushArgument) \ | 136 V(PushArgument) \ |
| 136 V(RegExpLiteral) \ | 137 V(RegExpLiteral) \ |
| 137 V(Return) \ | 138 V(Return) \ |
| 138 V(ShiftI) \ | 139 V(ShiftI) \ |
| 139 V(SmiTag) \ | 140 V(SmiTag) \ |
| 140 V(SmiUntag) \ | 141 V(SmiUntag) \ |
| 141 V(StackCheck) \ | 142 V(StackCheck) \ |
| (...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1273 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") | 1274 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") |
| 1274 }; | 1275 }; |
| 1275 | 1276 |
| 1276 | 1277 |
| 1277 class LContext: public LTemplateInstruction<1, 0, 0> { | 1278 class LContext: public LTemplateInstruction<1, 0, 0> { |
| 1278 public: | 1279 public: |
| 1279 DECLARE_CONCRETE_INSTRUCTION(Context, "context") | 1280 DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
| 1280 }; | 1281 }; |
| 1281 | 1282 |
| 1282 | 1283 |
| 1284 class LOuterContext: public LTemplateInstruction<1, 1, 0> { |
| 1285 public: |
| 1286 explicit LOuterContext(LOperand* context) { |
| 1287 inputs_[0] = context; |
| 1288 } |
| 1289 |
| 1290 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") |
| 1291 |
| 1292 LOperand* context() { return InputAt(0); } |
| 1293 }; |
| 1294 |
| 1295 |
| 1283 class LGlobalObject: public LTemplateInstruction<1, 0, 0> { | 1296 class LGlobalObject: public LTemplateInstruction<1, 0, 0> { |
| 1284 public: | 1297 public: |
| 1285 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") | 1298 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") |
| 1286 }; | 1299 }; |
| 1287 | 1300 |
| 1288 | 1301 |
| 1289 class LGlobalReceiver: public LTemplateInstruction<1, 0, 0> { | 1302 class LGlobalReceiver: public LTemplateInstruction<1, 0, 0> { |
| 1290 public: | 1303 public: |
| 1291 DECLARE_CONCRETE_INSTRUCTION(GlobalReceiver, "global-receiver") | 1304 DECLARE_CONCRETE_INSTRUCTION(GlobalReceiver, "global-receiver") |
| 1292 }; | 1305 }; |
| (...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2030 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2043 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2031 }; | 2044 }; |
| 2032 | 2045 |
| 2033 #undef DECLARE_HYDROGEN_ACCESSOR | 2046 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2034 #undef DECLARE_INSTRUCTION | 2047 #undef DECLARE_INSTRUCTION |
| 2035 #undef DECLARE_CONCRETE_INSTRUCTION | 2048 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2036 | 2049 |
| 2037 } } // namespace v8::int | 2050 } } // namespace v8::int |
| 2038 | 2051 |
| 2039 #endif // V8_X64_LITHIUM_X64_H_ | 2052 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |