| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |