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 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1479 bool has_constant_parameter_count() { | 1479 bool has_constant_parameter_count() { |
1480 return parameter_count()->IsConstantOperand(); | 1480 return parameter_count()->IsConstantOperand(); |
1481 } | 1481 } |
1482 LConstantOperand* constant_parameter_count() { | 1482 LConstantOperand* constant_parameter_count() { |
1483 ASSERT(has_constant_parameter_count()); | 1483 ASSERT(has_constant_parameter_count()); |
1484 return LConstantOperand::cast(parameter_count()); | 1484 return LConstantOperand::cast(parameter_count()); |
1485 } | 1485 } |
1486 LOperand* parameter_count() { return inputs_[2]; } | 1486 LOperand* parameter_count() { return inputs_[2]; } |
1487 | 1487 |
1488 DECLARE_CONCRETE_INSTRUCTION(Return, "return") | 1488 DECLARE_CONCRETE_INSTRUCTION(Return, "return") |
| 1489 DECLARE_HYDROGEN_ACCESSOR(Return) |
1489 }; | 1490 }; |
1490 | 1491 |
1491 | 1492 |
1492 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { | 1493 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { |
1493 public: | 1494 public: |
1494 explicit LLoadNamedField(LOperand* object) { | 1495 explicit LLoadNamedField(LOperand* object) { |
1495 inputs_[0] = object; | 1496 inputs_[0] = object; |
1496 } | 1497 } |
1497 | 1498 |
1498 LOperand* object() { return inputs_[0]; } | 1499 LOperand* object() { return inputs_[0]; } |
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2983 | 2984 |
2984 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2985 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2985 }; | 2986 }; |
2986 | 2987 |
2987 #undef DECLARE_HYDROGEN_ACCESSOR | 2988 #undef DECLARE_HYDROGEN_ACCESSOR |
2988 #undef DECLARE_CONCRETE_INSTRUCTION | 2989 #undef DECLARE_CONCRETE_INSTRUCTION |
2989 | 2990 |
2990 } } // namespace v8::internal | 2991 } } // namespace v8::internal |
2991 | 2992 |
2992 #endif // V8_IA32_LITHIUM_IA32_H_ | 2993 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |