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 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1448 bool has_constant_parameter_count() { | 1448 bool has_constant_parameter_count() { |
1449 return parameter_count()->IsConstantOperand(); | 1449 return parameter_count()->IsConstantOperand(); |
1450 } | 1450 } |
1451 LConstantOperand* constant_parameter_count() { | 1451 LConstantOperand* constant_parameter_count() { |
1452 ASSERT(has_constant_parameter_count()); | 1452 ASSERT(has_constant_parameter_count()); |
1453 return LConstantOperand::cast(parameter_count()); | 1453 return LConstantOperand::cast(parameter_count()); |
1454 } | 1454 } |
1455 LOperand* parameter_count() { return inputs_[1]; } | 1455 LOperand* parameter_count() { return inputs_[1]; } |
1456 | 1456 |
1457 DECLARE_CONCRETE_INSTRUCTION(Return, "return") | 1457 DECLARE_CONCRETE_INSTRUCTION(Return, "return") |
| 1458 DECLARE_HYDROGEN_ACCESSOR(Return) |
1458 }; | 1459 }; |
1459 | 1460 |
1460 | 1461 |
1461 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { | 1462 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { |
1462 public: | 1463 public: |
1463 explicit LLoadNamedField(LOperand* object) { | 1464 explicit LLoadNamedField(LOperand* object) { |
1464 inputs_[0] = object; | 1465 inputs_[0] = object; |
1465 } | 1466 } |
1466 | 1467 |
1467 LOperand* object() { return inputs_[0]; } | 1468 LOperand* object() { return inputs_[0]; } |
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2745 | 2746 |
2746 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2747 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2747 }; | 2748 }; |
2748 | 2749 |
2749 #undef DECLARE_HYDROGEN_ACCESSOR | 2750 #undef DECLARE_HYDROGEN_ACCESSOR |
2750 #undef DECLARE_CONCRETE_INSTRUCTION | 2751 #undef DECLARE_CONCRETE_INSTRUCTION |
2751 | 2752 |
2752 } } // namespace v8::int | 2753 } } // namespace v8::int |
2753 | 2754 |
2754 #endif // V8_X64_LITHIUM_X64_H_ | 2755 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |