| 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 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1689 void AddPushedValue(HValue* value) { | 1689 void AddPushedValue(HValue* value) { |
| 1690 AddValue(kNoIndex, value); | 1690 AddValue(kNoIndex, value); |
| 1691 } | 1691 } |
| 1692 virtual int OperandCount() { return values_.length(); } | 1692 virtual int OperandCount() { return values_.length(); } |
| 1693 virtual HValue* OperandAt(int index) const { return values_[index]; } | 1693 virtual HValue* OperandAt(int index) const { return values_[index]; } |
| 1694 | 1694 |
| 1695 virtual Representation RequiredInputRepresentation(int index) { | 1695 virtual Representation RequiredInputRepresentation(int index) { |
| 1696 return Representation::None(); | 1696 return Representation::None(); |
| 1697 } | 1697 } |
| 1698 | 1698 |
| 1699 void MergeInto(HSimulate* other); | 1699 void MergeWith(ZoneList<HSimulate*>* list); |
| 1700 bool is_candidate_for_removal() { return removable_ == REMOVABLE_SIMULATE; } | 1700 bool is_candidate_for_removal() { return removable_ == REMOVABLE_SIMULATE; } |
| 1701 | 1701 |
| 1702 DECLARE_CONCRETE_INSTRUCTION(Simulate) | 1702 DECLARE_CONCRETE_INSTRUCTION(Simulate) |
| 1703 | 1703 |
| 1704 #ifdef DEBUG | 1704 #ifdef DEBUG |
| 1705 virtual void Verify(); | 1705 virtual void Verify(); |
| 1706 #endif | 1706 #endif |
| 1707 | 1707 |
| 1708 protected: | 1708 protected: |
| 1709 virtual void InternalSetOperandAt(int index, HValue* value) { | 1709 virtual void InternalSetOperandAt(int index, HValue* value) { |
| (...skipping 4432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6142 virtual bool IsDeletable() const { return true; } | 6142 virtual bool IsDeletable() const { return true; } |
| 6143 }; | 6143 }; |
| 6144 | 6144 |
| 6145 | 6145 |
| 6146 #undef DECLARE_INSTRUCTION | 6146 #undef DECLARE_INSTRUCTION |
| 6147 #undef DECLARE_CONCRETE_INSTRUCTION | 6147 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6148 | 6148 |
| 6149 } } // namespace v8::internal | 6149 } } // namespace v8::internal |
| 6150 | 6150 |
| 6151 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6151 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |