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 2742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2753 | 2753 |
2754 virtual Representation RequiredInputRepresentation(int index) { | 2754 virtual Representation RequiredInputRepresentation(int index) { |
2755 return Representation::Tagged(); | 2755 return Representation::Tagged(); |
2756 } | 2756 } |
2757 | 2757 |
2758 HValue* receiver() { return OperandAt(0); } | 2758 HValue* receiver() { return OperandAt(0); } |
2759 HValue* function() { return OperandAt(1); } | 2759 HValue* function() { return OperandAt(1); } |
2760 | 2760 |
2761 virtual HValue* Canonicalize(); | 2761 virtual HValue* Canonicalize(); |
2762 | 2762 |
| 2763 virtual void PrintDataTo(StringStream* stream); |
| 2764 |
2763 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver) | 2765 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver) |
2764 }; | 2766 }; |
2765 | 2767 |
2766 | 2768 |
2767 class HApplyArguments: public HTemplateInstruction<4> { | 2769 class HApplyArguments: public HTemplateInstruction<4> { |
2768 public: | 2770 public: |
2769 HApplyArguments(HValue* function, | 2771 HApplyArguments(HValue* function, |
2770 HValue* receiver, | 2772 HValue* receiver, |
2771 HValue* length, | 2773 HValue* length, |
2772 HValue* elements) { | 2774 HValue* elements) { |
(...skipping 2639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5412 virtual bool IsDeletable() const { return true; } | 5414 virtual bool IsDeletable() const { return true; } |
5413 }; | 5415 }; |
5414 | 5416 |
5415 | 5417 |
5416 #undef DECLARE_INSTRUCTION | 5418 #undef DECLARE_INSTRUCTION |
5417 #undef DECLARE_CONCRETE_INSTRUCTION | 5419 #undef DECLARE_CONCRETE_INSTRUCTION |
5418 | 5420 |
5419 } } // namespace v8::internal | 5421 } } // namespace v8::internal |
5420 | 5422 |
5421 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 5423 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |