| 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 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1572       BitVector* visited) V8_OVERRIDE; | 1572       BitVector* visited) V8_OVERRIDE; | 
| 1573 | 1573 | 
| 1574   virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { | 1574   virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { | 
| 1575     return representation();  // Same as the output representation. | 1575     return representation();  // Same as the output representation. | 
| 1576   } | 1576   } | 
| 1577 | 1577 | 
| 1578   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1578   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 
| 1579 | 1579 | 
| 1580   DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation) | 1580   DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation) | 
| 1581 | 1581 | 
| 1582  protected: |  | 
| 1583   virtual int RedefinedOperandIndex() { return 0; } |  | 
| 1584 |  | 
| 1585  private: | 1582  private: | 
| 1586   HForceRepresentation(HValue* value, Representation required_representation) { | 1583   HForceRepresentation(HValue* value, Representation required_representation) { | 
| 1587     SetOperandAt(0, value); | 1584     SetOperandAt(0, value); | 
| 1588     set_representation(required_representation); | 1585     set_representation(required_representation); | 
| 1589   } | 1586   } | 
| 1590 }; | 1587 }; | 
| 1591 | 1588 | 
| 1592 | 1589 | 
| 1593 class HChange V8_FINAL : public HUnaryOperation { | 1590 class HChange V8_FINAL : public HUnaryOperation { | 
| 1594  public: | 1591  public: | 
| (...skipping 5705 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 7300   virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7297   virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 
| 7301 }; | 7298 }; | 
| 7302 | 7299 | 
| 7303 | 7300 | 
| 7304 #undef DECLARE_INSTRUCTION | 7301 #undef DECLARE_INSTRUCTION | 
| 7305 #undef DECLARE_CONCRETE_INSTRUCTION | 7302 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 7306 | 7303 | 
| 7307 } }  // namespace v8::internal | 7304 } }  // namespace v8::internal | 
| 7308 | 7305 | 
| 7309 #endif  // V8_HYDROGEN_INSTRUCTIONS_H_ | 7306 #endif  // V8_HYDROGEN_INSTRUCTIONS_H_ | 
| OLD | NEW | 
|---|