Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: src/hydrogen-instructions.h

Issue 11871012: Merged r13386 into 3.14 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.14
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698