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

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

Issue 7067016: Fix lint error in 3.1 branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.1/
Patch Set: Created 9 years, 7 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 | « no previous file | src/version.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 virtual Representation RequiredInputRepresentation(int index) const { 784 virtual Representation RequiredInputRepresentation(int index) const {
785 return Representation::None(); 785 return Representation::None();
786 } 786 }
787 787
788 DECLARE_CONCRETE_INSTRUCTION(BlockEntry, "block_entry") 788 DECLARE_CONCRETE_INSTRUCTION(BlockEntry, "block_entry")
789 }; 789 };
790 790
791 791
792 class HDeoptimize: public HControlInstruction { 792 class HDeoptimize: public HControlInstruction {
793 public: 793 public:
794 HDeoptimize(int environment_length) 794 explicit HDeoptimize(int environment_length)
795 : HControlInstruction(NULL, NULL), 795 : HControlInstruction(NULL, NULL),
796 values_(environment_length) { } 796 values_(environment_length) { }
797 797
798 virtual Representation RequiredInputRepresentation(int index) const { 798 virtual Representation RequiredInputRepresentation(int index) const {
799 return Representation::None(); 799 return Representation::None();
800 } 800 }
801 801
802 virtual int OperandCount() { return values_.length(); } 802 virtual int OperandCount() { return values_.length(); }
803 virtual HValue* OperandAt(int index) { return values_[index]; } 803 virtual HValue* OperandAt(int index) { return values_[index]; }
804 804
(...skipping 2702 matching lines...) Expand 10 before | Expand all | Expand 10 after
3507 HValue* object() { return left(); } 3507 HValue* object() { return left(); }
3508 HValue* key() { return right(); } 3508 HValue* key() { return right(); }
3509 }; 3509 };
3510 3510
3511 #undef DECLARE_INSTRUCTION 3511 #undef DECLARE_INSTRUCTION
3512 #undef DECLARE_CONCRETE_INSTRUCTION 3512 #undef DECLARE_CONCRETE_INSTRUCTION
3513 3513
3514 } } // namespace v8::internal 3514 } } // namespace v8::internal
3515 3515
3516 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 3516 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698