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 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1304 public: | 1304 public: |
1305 explicit LPushArgument(LOperand* value) { | 1305 explicit LPushArgument(LOperand* value) { |
1306 inputs_[0] = value; | 1306 inputs_[0] = value; |
1307 } | 1307 } |
1308 | 1308 |
1309 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") | 1309 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") |
1310 }; | 1310 }; |
1311 | 1311 |
1312 | 1312 |
1313 class LThisFunction: public LTemplateInstruction<1, 0, 0> { | 1313 class LThisFunction: public LTemplateInstruction<1, 0, 0> { |
| 1314 public: |
1314 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") | 1315 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") |
| 1316 DECLARE_HYDROGEN_ACCESSOR(ThisFunction) |
1315 }; | 1317 }; |
1316 | 1318 |
1317 | 1319 |
1318 class LContext: public LTemplateInstruction<1, 0, 0> { | 1320 class LContext: public LTemplateInstruction<1, 0, 0> { |
1319 public: | 1321 public: |
1320 DECLARE_CONCRETE_INSTRUCTION(Context, "context") | 1322 DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
1321 }; | 1323 }; |
1322 | 1324 |
1323 | 1325 |
1324 class LOuterContext: public LTemplateInstruction<1, 1, 0> { | 1326 class LOuterContext: public LTemplateInstruction<1, 1, 0> { |
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2294 | 2296 |
2295 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2297 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2296 }; | 2298 }; |
2297 | 2299 |
2298 #undef DECLARE_HYDROGEN_ACCESSOR | 2300 #undef DECLARE_HYDROGEN_ACCESSOR |
2299 #undef DECLARE_CONCRETE_INSTRUCTION | 2301 #undef DECLARE_CONCRETE_INSTRUCTION |
2300 | 2302 |
2301 } } // namespace v8::internal | 2303 } } // namespace v8::internal |
2302 | 2304 |
2303 #endif // V8_IA32_LITHIUM_IA32_H_ | 2305 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |