| 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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 return; | 878 return; |
| 879 default: | 879 default: |
| 880 UNREACHABLE(); | 880 UNREACHABLE(); |
| 881 } | 881 } |
| 882 } | 882 } |
| 883 | 883 |
| 884 | 884 |
| 885 void HCheckMap::PrintDataTo(StringStream* stream) { | 885 void HCheckMap::PrintDataTo(StringStream* stream) { |
| 886 value()->PrintNameTo(stream); | 886 value()->PrintNameTo(stream); |
| 887 stream->Add(" %p", *map()); | 887 stream->Add(" %p", *map()); |
| 888 if (mode() == REQUIRE_EXACT_MAP) { |
| 889 stream->Add(" [EXACT]"); |
| 890 } else if (!has_element_transitions_) { |
| 891 stream->Add(" [EXACT*]"); |
| 892 } else { |
| 893 stream->Add(" [MATCH ELEMENTS]"); |
| 894 } |
| 888 } | 895 } |
| 889 | 896 |
| 890 | 897 |
| 891 void HCheckFunction::PrintDataTo(StringStream* stream) { | 898 void HCheckFunction::PrintDataTo(StringStream* stream) { |
| 892 value()->PrintNameTo(stream); | 899 value()->PrintNameTo(stream); |
| 893 stream->Add(" %p", *target()); | 900 stream->Add(" %p", *target()); |
| 894 } | 901 } |
| 895 | 902 |
| 896 | 903 |
| 897 const char* HCheckInstanceType::GetCheckName() { | 904 const char* HCheckInstanceType::GetCheckName() { |
| (...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2146 | 2153 |
| 2147 | 2154 |
| 2148 void HCheckPrototypeMaps::Verify() { | 2155 void HCheckPrototypeMaps::Verify() { |
| 2149 HInstruction::Verify(); | 2156 HInstruction::Verify(); |
| 2150 ASSERT(HasNoUses()); | 2157 ASSERT(HasNoUses()); |
| 2151 } | 2158 } |
| 2152 | 2159 |
| 2153 #endif | 2160 #endif |
| 2154 | 2161 |
| 2155 } } // namespace v8::internal | 2162 } } // namespace v8::internal |
| OLD | NEW |