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 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1255 } | 1255 } |
1256 | 1256 |
1257 HValue* value() { return OperandAt(0); } | 1257 HValue* value() { return OperandAt(0); } |
1258 | 1258 |
1259 virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited); | 1259 virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited); |
1260 | 1260 |
1261 virtual Representation RequiredInputRepresentation(int index) { | 1261 virtual Representation RequiredInputRepresentation(int index) { |
1262 return representation(); // Same as the output representation. | 1262 return representation(); // Same as the output representation. |
1263 } | 1263 } |
1264 | 1264 |
| 1265 virtual void PrintDataTo(StringStream* stream); |
| 1266 |
1265 DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation) | 1267 DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation) |
1266 }; | 1268 }; |
1267 | 1269 |
1268 | 1270 |
1269 class HChange: public HUnaryOperation { | 1271 class HChange: public HUnaryOperation { |
1270 public: | 1272 public: |
1271 HChange(HValue* value, | 1273 HChange(HValue* value, |
1272 Representation to, | 1274 Representation to, |
1273 bool is_truncating, | 1275 bool is_truncating, |
1274 bool deoptimize_on_undefined) | 1276 bool deoptimize_on_undefined) |
(...skipping 4169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5444 virtual bool IsDeletable() const { return true; } | 5446 virtual bool IsDeletable() const { return true; } |
5445 }; | 5447 }; |
5446 | 5448 |
5447 | 5449 |
5448 #undef DECLARE_INSTRUCTION | 5450 #undef DECLARE_INSTRUCTION |
5449 #undef DECLARE_CONCRETE_INSTRUCTION | 5451 #undef DECLARE_CONCRETE_INSTRUCTION |
5450 | 5452 |
5451 } } // namespace v8::internal | 5453 } } // namespace v8::internal |
5452 | 5454 |
5453 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 5455 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |