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 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 } | 1130 } |
1131 | 1131 |
1132 virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited); | 1132 virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited); |
1133 virtual HType CalculateInferredType(); | 1133 virtual HType CalculateInferredType(); |
1134 | 1134 |
1135 Representation from() { return value()->representation(); } | 1135 Representation from() { return value()->representation(); } |
1136 Representation to() { return representation(); } | 1136 Representation to() { return representation(); } |
1137 bool deoptimize_on_undefined() const { | 1137 bool deoptimize_on_undefined() const { |
1138 return CheckFlag(kDeoptimizeOnUndefined); | 1138 return CheckFlag(kDeoptimizeOnUndefined); |
1139 } | 1139 } |
| 1140 bool deoptimize_on_minus_zero() const { |
| 1141 return CheckFlag(kBailoutOnMinusZero); |
| 1142 } |
1140 virtual Representation RequiredInputRepresentation(int index) { | 1143 virtual Representation RequiredInputRepresentation(int index) { |
1141 return from(); | 1144 return from(); |
1142 } | 1145 } |
1143 | 1146 |
1144 virtual Range* InferRange(); | 1147 virtual Range* InferRange(); |
1145 | 1148 |
1146 virtual void PrintDataTo(StringStream* stream); | 1149 virtual void PrintDataTo(StringStream* stream); |
1147 | 1150 |
1148 DECLARE_CONCRETE_INSTRUCTION(Change) | 1151 DECLARE_CONCRETE_INSTRUCTION(Change) |
1149 | 1152 |
(...skipping 3369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4519 | 4522 |
4520 DECLARE_CONCRETE_INSTRUCTION(In) | 4523 DECLARE_CONCRETE_INSTRUCTION(In) |
4521 }; | 4524 }; |
4522 | 4525 |
4523 #undef DECLARE_INSTRUCTION | 4526 #undef DECLARE_INSTRUCTION |
4524 #undef DECLARE_CONCRETE_INSTRUCTION | 4527 #undef DECLARE_CONCRETE_INSTRUCTION |
4525 | 4528 |
4526 } } // namespace v8::internal | 4529 } } // namespace v8::internal |
4527 | 4530 |
4528 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 4531 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |