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

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

Issue 11859026: Merged r13386 into 3.15 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.15
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 2805 matching lines...) Expand 10 before | Expand all | Expand 10 after
2816 2816
2817 virtual Representation RequiredInputRepresentation(int index) { 2817 virtual Representation RequiredInputRepresentation(int index) {
2818 return Representation::Tagged(); 2818 return Representation::Tagged();
2819 } 2819 }
2820 2820
2821 HValue* receiver() { return OperandAt(0); } 2821 HValue* receiver() { return OperandAt(0); }
2822 HValue* function() { return OperandAt(1); } 2822 HValue* function() { return OperandAt(1); }
2823 2823
2824 virtual HValue* Canonicalize(); 2824 virtual HValue* Canonicalize();
2825 2825
2826 virtual void PrintDataTo(StringStream* stream);
2827
2826 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver) 2828 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver)
2827 }; 2829 };
2828 2830
2829 2831
2830 class HApplyArguments: public HTemplateInstruction<4> { 2832 class HApplyArguments: public HTemplateInstruction<4> {
2831 public: 2833 public:
2832 HApplyArguments(HValue* function, 2834 HApplyArguments(HValue* function,
2833 HValue* receiver, 2835 HValue* receiver,
2834 HValue* length, 2836 HValue* length,
2835 HValue* elements) { 2837 HValue* elements) {
(...skipping 2594 matching lines...) Expand 10 before | Expand all | Expand 10 after
5430 virtual bool IsDeletable() const { return true; } 5432 virtual bool IsDeletable() const { return true; }
5431 }; 5433 };
5432 5434
5433 5435
5434 #undef DECLARE_INSTRUCTION 5436 #undef DECLARE_INSTRUCTION
5435 #undef DECLARE_CONCRETE_INSTRUCTION 5437 #undef DECLARE_CONCRETE_INSTRUCTION
5436 5438
5437 } } // namespace v8::internal 5439 } } // namespace v8::internal
5438 5440
5439 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 5441 #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