OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 bool has_constant_parameter_count() { | 1437 bool has_constant_parameter_count() { |
1438 return parameter_count()->IsConstantOperand(); | 1438 return parameter_count()->IsConstantOperand(); |
1439 } | 1439 } |
1440 LConstantOperand* constant_parameter_count() { | 1440 LConstantOperand* constant_parameter_count() { |
1441 ASSERT(has_constant_parameter_count()); | 1441 ASSERT(has_constant_parameter_count()); |
1442 return LConstantOperand::cast(parameter_count()); | 1442 return LConstantOperand::cast(parameter_count()); |
1443 } | 1443 } |
1444 LOperand* parameter_count() { return inputs_[1]; } | 1444 LOperand* parameter_count() { return inputs_[1]; } |
1445 | 1445 |
1446 DECLARE_CONCRETE_INSTRUCTION(Return, "return") | 1446 DECLARE_CONCRETE_INSTRUCTION(Return, "return") |
| 1447 DECLARE_HYDROGEN_ACCESSOR(Return) |
1447 }; | 1448 }; |
1448 | 1449 |
1449 | 1450 |
1450 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { | 1451 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { |
1451 public: | 1452 public: |
1452 explicit LLoadNamedField(LOperand* object) { | 1453 explicit LLoadNamedField(LOperand* object) { |
1453 inputs_[0] = object; | 1454 inputs_[0] = object; |
1454 } | 1455 } |
1455 | 1456 |
1456 LOperand* object() { return inputs_[0]; } | 1457 LOperand* object() { return inputs_[0]; } |
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2737 | 2738 |
2738 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2739 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2739 }; | 2740 }; |
2740 | 2741 |
2741 #undef DECLARE_HYDROGEN_ACCESSOR | 2742 #undef DECLARE_HYDROGEN_ACCESSOR |
2742 #undef DECLARE_CONCRETE_INSTRUCTION | 2743 #undef DECLARE_CONCRETE_INSTRUCTION |
2743 | 2744 |
2744 } } // namespace v8::int | 2745 } } // namespace v8::int |
2745 | 2746 |
2746 #endif // V8_X64_LITHIUM_X64_H_ | 2747 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |