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 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 void HInstanceOf::PrintDataTo(StringStream* stream) { | 854 void HInstanceOf::PrintDataTo(StringStream* stream) { |
855 left()->PrintNameTo(stream); | 855 left()->PrintNameTo(stream); |
856 stream->Add(" "); | 856 stream->Add(" "); |
857 right()->PrintNameTo(stream); | 857 right()->PrintNameTo(stream); |
858 stream->Add(" "); | 858 stream->Add(" "); |
859 context()->PrintNameTo(stream); | 859 context()->PrintNameTo(stream); |
860 } | 860 } |
861 | 861 |
862 | 862 |
863 Range* HValue::InferRange() { | 863 Range* HValue::InferRange() { |
864 if (representation().IsInteger32 ()) { | 864 if (representation().IsInteger32()) { |
865 // Untagged integer32 cannot be -0. | 865 // Untagged integer32 cannot be -0. |
866 return new Range (); | 866 return new Range (); |
867 } else { | 867 } else { |
868 // Tagged values, untagged doubles, and values with unknown representation | 868 // Tagged values, untagged doubles, and values with unknown representation |
869 // can contain -0. | 869 // can contain -0. |
870 Range* result = new Range(); | 870 Range* result = new Range(); |
871 result->set_can_be_minus_zero(true); | 871 result->set_can_be_minus_zero(true); |
872 return result; | 872 return result; |
873 } | 873 } |
874 } | 874 } |
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1834 | 1834 |
1835 | 1835 |
1836 void HCheckPrototypeMaps::Verify() { | 1836 void HCheckPrototypeMaps::Verify() { |
1837 HInstruction::Verify(); | 1837 HInstruction::Verify(); |
1838 ASSERT(HasNoUses()); | 1838 ASSERT(HasNoUses()); |
1839 } | 1839 } |
1840 | 1840 |
1841 #endif | 1841 #endif |
1842 | 1842 |
1843 } } // namespace v8::internal | 1843 } } // namespace v8::internal |
OLD | NEW |