| 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 3642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3653 base_ = index(); | 3653 base_ = index(); |
| 3654 offset_ = 0; | 3654 offset_ = 0; |
| 3655 scale_ = 0; | 3655 scale_ = 0; |
| 3656 return false; | 3656 return false; |
| 3657 } | 3657 } |
| 3658 } | 3658 } |
| 3659 | 3659 |
| 3660 virtual Representation RequiredInputRepresentation(int arg_index) { | 3660 virtual Representation RequiredInputRepresentation(int arg_index) { |
| 3661 return representation(); | 3661 return representation(); |
| 3662 } | 3662 } |
| 3663 virtual Representation observed_input_representation(int index) { | |
| 3664 return Representation::Integer32(); | |
| 3665 } | |
| 3666 | 3663 |
| 3667 virtual bool IsRelationTrueInternal(NumericRelation relation, | 3664 virtual bool IsRelationTrueInternal(NumericRelation relation, |
| 3668 HValue* related_value, | 3665 HValue* related_value, |
| 3669 int offset = 0, | 3666 int offset = 0, |
| 3670 int scale = 0); | 3667 int scale = 0); |
| 3671 | 3668 |
| 3672 virtual void PrintDataTo(StringStream* stream); | 3669 virtual void PrintDataTo(StringStream* stream); |
| 3673 virtual void InferRepresentation(HInferRepresentation* h_infer); | 3670 virtual void InferRepresentation(HInferRepresentation* h_infer); |
| 3674 | 3671 |
| 3675 HValue* index() { return OperandAt(0); } | 3672 HValue* index() { return OperandAt(0); } |
| (...skipping 2889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6565 virtual bool IsDeletable() const { return true; } | 6562 virtual bool IsDeletable() const { return true; } |
| 6566 }; | 6563 }; |
| 6567 | 6564 |
| 6568 | 6565 |
| 6569 #undef DECLARE_INSTRUCTION | 6566 #undef DECLARE_INSTRUCTION |
| 6570 #undef DECLARE_CONCRETE_INSTRUCTION | 6567 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6571 | 6568 |
| 6572 } } // namespace v8::internal | 6569 } } // namespace v8::internal |
| 6573 | 6570 |
| 6574 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6571 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |