| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1150 stream->Add(" "); | 1150 stream->Add(" "); |
| 1151 HBinaryOperation::PrintDataTo(stream); | 1151 HBinaryOperation::PrintDataTo(stream); |
| 1152 } | 1152 } |
| 1153 | 1153 |
| 1154 | 1154 |
| 1155 void HCompare::SetInputRepresentation(Representation r) { | 1155 void HCompare::SetInputRepresentation(Representation r) { |
| 1156 input_representation_ = r; | 1156 input_representation_ = r; |
| 1157 if (r.IsTagged()) { | 1157 if (r.IsTagged()) { |
| 1158 SetAllSideEffects(); | 1158 SetAllSideEffects(); |
| 1159 ClearFlag(kUseGVN); | 1159 ClearFlag(kUseGVN); |
| 1160 } else if (r.IsDouble()) { |
| 1161 SetFlag(kDeoptimizeOnUndefined); |
| 1162 ClearAllSideEffects(); |
| 1163 SetFlag(kUseGVN); |
| 1160 } else { | 1164 } else { |
| 1161 ClearAllSideEffects(); | 1165 ClearAllSideEffects(); |
| 1162 SetFlag(kUseGVN); | 1166 SetFlag(kUseGVN); |
| 1163 } | 1167 } |
| 1164 } | 1168 } |
| 1165 | 1169 |
| 1166 | 1170 |
| 1167 void HParameter::PrintDataTo(StringStream* stream) { | 1171 void HParameter::PrintDataTo(StringStream* stream) { |
| 1168 stream->Add("%u", index()); | 1172 stream->Add("%u", index()); |
| 1169 } | 1173 } |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1646 | 1650 |
| 1647 | 1651 |
| 1648 void HCheckPrototypeMaps::Verify() { | 1652 void HCheckPrototypeMaps::Verify() { |
| 1649 HInstruction::Verify(); | 1653 HInstruction::Verify(); |
| 1650 ASSERT(HasNoUses()); | 1654 ASSERT(HasNoUses()); |
| 1651 } | 1655 } |
| 1652 | 1656 |
| 1653 #endif | 1657 #endif |
| 1654 | 1658 |
| 1655 } } // namespace v8::internal | 1659 } } // namespace v8::internal |
| OLD | NEW |