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

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

Issue 7862031: Improved printing of Goto and CompareIDAndBranch instructions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 3 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/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 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 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 class HGoto: public HTemplateControlInstruction<1, 0> { 908 class HGoto: public HTemplateControlInstruction<1, 0> {
909 public: 909 public:
910 explicit HGoto(HBasicBlock* target) { 910 explicit HGoto(HBasicBlock* target) {
911 SetSuccessorAt(0, target); 911 SetSuccessorAt(0, target);
912 } 912 }
913 913
914 virtual Representation RequiredInputRepresentation(int index) const { 914 virtual Representation RequiredInputRepresentation(int index) const {
915 return Representation::None(); 915 return Representation::None();
916 } 916 }
917 917
918 virtual void PrintDataTo(StringStream* stream);
919
918 DECLARE_CONCRETE_INSTRUCTION(Goto) 920 DECLARE_CONCRETE_INSTRUCTION(Goto)
919 }; 921 };
920 922
921 923
922 class HUnaryControlInstruction: public HTemplateControlInstruction<2, 1> { 924 class HUnaryControlInstruction: public HTemplateControlInstruction<2, 1> {
923 public: 925 public:
924 HUnaryControlInstruction(HValue* value, 926 HUnaryControlInstruction(HValue* value,
925 HBasicBlock* true_target, 927 HBasicBlock* true_target,
926 HBasicBlock* false_target) { 928 HBasicBlock* false_target) {
927 SetOperandAt(0, value); 929 SetOperandAt(0, value);
(...skipping 3271 matching lines...) Expand 10 before | Expand all | Expand 10 after
4199 4201
4200 DECLARE_CONCRETE_INSTRUCTION(In) 4202 DECLARE_CONCRETE_INSTRUCTION(In)
4201 }; 4203 };
4202 4204
4203 #undef DECLARE_INSTRUCTION 4205 #undef DECLARE_INSTRUCTION
4204 #undef DECLARE_CONCRETE_INSTRUCTION 4206 #undef DECLARE_CONCRETE_INSTRUCTION
4205 4207
4206 } } // namespace v8::internal 4208 } } // namespace v8::internal
4207 4209
4208 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 4210 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698