| OLD | NEW |
| 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 3916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3927 | 3927 |
| 3928 HValue* left() { return OperandAt(0); } | 3928 HValue* left() { return OperandAt(0); } |
| 3929 HValue* right() { return OperandAt(1); } | 3929 HValue* right() { return OperandAt(1); } |
| 3930 | 3930 |
| 3931 virtual void PrintDataTo(StringStream* stream); | 3931 virtual void PrintDataTo(StringStream* stream); |
| 3932 | 3932 |
| 3933 virtual Representation RequiredInputRepresentation(int index) { | 3933 virtual Representation RequiredInputRepresentation(int index) { |
| 3934 return Representation::Tagged(); | 3934 return Representation::Tagged(); |
| 3935 } | 3935 } |
| 3936 | 3936 |
| 3937 virtual Representation observed_input_representation(int index) { |
| 3938 return Representation::Tagged(); |
| 3939 } |
| 3940 |
| 3937 DECLARE_CONCRETE_INSTRUCTION(CompareObjectEqAndBranch) | 3941 DECLARE_CONCRETE_INSTRUCTION(CompareObjectEqAndBranch) |
| 3938 }; | 3942 }; |
| 3939 | 3943 |
| 3940 | 3944 |
| 3941 class HCompareConstantEqAndBranch: public HUnaryControlInstruction { | 3945 class HCompareConstantEqAndBranch: public HUnaryControlInstruction { |
| 3942 public: | 3946 public: |
| 3943 HCompareConstantEqAndBranch(HValue* left, int right, Token::Value op) | 3947 HCompareConstantEqAndBranch(HValue* left, int right, Token::Value op) |
| 3944 : HUnaryControlInstruction(left, NULL, NULL), op_(op), right_(right) { | 3948 : HUnaryControlInstruction(left, NULL, NULL), op_(op), right_(right) { |
| 3945 ASSERT(op == Token::EQ_STRICT); | 3949 ASSERT(op == Token::EQ_STRICT); |
| 3946 } | 3950 } |
| (...skipping 2544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6491 virtual bool IsDeletable() const { return true; } | 6495 virtual bool IsDeletable() const { return true; } |
| 6492 }; | 6496 }; |
| 6493 | 6497 |
| 6494 | 6498 |
| 6495 #undef DECLARE_INSTRUCTION | 6499 #undef DECLARE_INSTRUCTION |
| 6496 #undef DECLARE_CONCRETE_INSTRUCTION | 6500 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6497 | 6501 |
| 6498 } } // namespace v8::internal | 6502 } } // namespace v8::internal |
| 6499 | 6503 |
| 6500 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6504 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |