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 2817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2828 | 2828 |
2829 virtual Representation RequiredInputRepresentation(int index) { | 2829 virtual Representation RequiredInputRepresentation(int index) { |
2830 return Representation::Tagged(); | 2830 return Representation::Tagged(); |
2831 } | 2831 } |
2832 | 2832 |
2833 HValue* receiver() { return OperandAt(0); } | 2833 HValue* receiver() { return OperandAt(0); } |
2834 HValue* function() { return OperandAt(1); } | 2834 HValue* function() { return OperandAt(1); } |
2835 | 2835 |
2836 virtual HValue* Canonicalize(); | 2836 virtual HValue* Canonicalize(); |
2837 | 2837 |
| 2838 virtual void PrintDataTo(StringStream* stream); |
| 2839 |
2838 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver) | 2840 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver) |
2839 }; | 2841 }; |
2840 | 2842 |
2841 | 2843 |
2842 class HApplyArguments: public HTemplateInstruction<4> { | 2844 class HApplyArguments: public HTemplateInstruction<4> { |
2843 public: | 2845 public: |
2844 HApplyArguments(HValue* function, | 2846 HApplyArguments(HValue* function, |
2845 HValue* receiver, | 2847 HValue* receiver, |
2846 HValue* length, | 2848 HValue* length, |
2847 HValue* elements) { | 2849 HValue* elements) { |
(...skipping 2598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5446 virtual bool IsDeletable() const { return true; } | 5448 virtual bool IsDeletable() const { return true; } |
5447 }; | 5449 }; |
5448 | 5450 |
5449 | 5451 |
5450 #undef DECLARE_INSTRUCTION | 5452 #undef DECLARE_INSTRUCTION |
5451 #undef DECLARE_CONCRETE_INSTRUCTION | 5453 #undef DECLARE_CONCRETE_INSTRUCTION |
5452 | 5454 |
5453 } } // namespace v8::internal | 5455 } } // namespace v8::internal |
5454 | 5456 |
5455 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 5457 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |