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 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1694 switch (check_) { | 1694 switch (check_) { |
1695 case IS_SPEC_OBJECT: return "object"; | 1695 case IS_SPEC_OBJECT: return "object"; |
1696 case IS_JS_ARRAY: return "array"; | 1696 case IS_JS_ARRAY: return "array"; |
1697 case IS_STRING: return "string"; | 1697 case IS_STRING: return "string"; |
1698 case IS_INTERNALIZED_STRING: return "internalized_string"; | 1698 case IS_INTERNALIZED_STRING: return "internalized_string"; |
1699 } | 1699 } |
1700 UNREACHABLE(); | 1700 UNREACHABLE(); |
1701 return ""; | 1701 return ""; |
1702 } | 1702 } |
1703 | 1703 |
| 1704 |
1704 void HCheckInstanceType::PrintDataTo(StringStream* stream) { | 1705 void HCheckInstanceType::PrintDataTo(StringStream* stream) { |
1705 stream->Add("%s ", GetCheckName()); | 1706 stream->Add("%s ", GetCheckName()); |
1706 HUnaryOperation::PrintDataTo(stream); | 1707 HUnaryOperation::PrintDataTo(stream); |
1707 } | 1708 } |
1708 | 1709 |
1709 | 1710 |
1710 void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) { | 1711 void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) { |
1711 stream->Add("[receiver_prototype=%p,holder=%p]%s", | 1712 stream->Add("[receiver_prototype=%p,holder=%p]%s", |
1712 *prototypes_.first(), *prototypes_.last(), | 1713 *prototypes_.first(), *prototypes_.last(), |
1713 CanOmitPrototypeChecks() ? " (omitted)" : ""); | 1714 CanOmitPrototypeChecks() ? " (omitted)" : ""); |
(...skipping 2172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3886 case kBackingStore: | 3887 case kBackingStore: |
3887 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); | 3888 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
3888 stream->Add("[backing-store]"); | 3889 stream->Add("[backing-store]"); |
3889 break; | 3890 break; |
3890 } | 3891 } |
3891 | 3892 |
3892 stream->Add("@%d", offset()); | 3893 stream->Add("@%d", offset()); |
3893 } | 3894 } |
3894 | 3895 |
3895 } } // namespace v8::internal | 3896 } } // namespace v8::internal |
OLD | NEW |