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 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1732 return ""; | 1732 return ""; |
1733 } | 1733 } |
1734 | 1734 |
1735 | 1735 |
1736 void HCheckInstanceType::PrintDataTo(StringStream* stream) { | 1736 void HCheckInstanceType::PrintDataTo(StringStream* stream) { |
1737 stream->Add("%s ", GetCheckName()); | 1737 stream->Add("%s ", GetCheckName()); |
1738 HUnaryOperation::PrintDataTo(stream); | 1738 HUnaryOperation::PrintDataTo(stream); |
1739 } | 1739 } |
1740 | 1740 |
1741 | 1741 |
1742 void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) { | |
1743 stream->Add("[receiver_prototype=%p,holder=%p]%s", | |
1744 *prototypes_.first(), *prototypes_.last(), | |
1745 CanOmitPrototypeChecks() ? " (omitted)" : ""); | |
1746 } | |
1747 | |
1748 | |
1749 void HCallStub::PrintDataTo(StringStream* stream) { | 1742 void HCallStub::PrintDataTo(StringStream* stream) { |
1750 stream->Add("%s ", | 1743 stream->Add("%s ", |
1751 CodeStub::MajorName(major_key_, false)); | 1744 CodeStub::MajorName(major_key_, false)); |
1752 HUnaryCall::PrintDataTo(stream); | 1745 HUnaryCall::PrintDataTo(stream); |
1753 } | 1746 } |
1754 | 1747 |
1755 | 1748 |
1756 void HInstanceOf::PrintDataTo(StringStream* stream) { | 1749 void HInstanceOf::PrintDataTo(StringStream* stream) { |
1757 left()->PrintNameTo(stream); | 1750 left()->PrintNameTo(stream); |
1758 stream->Add(" "); | 1751 stream->Add(" "); |
(...skipping 2710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4469 break; | 4462 break; |
4470 case kExternalMemory: | 4463 case kExternalMemory: |
4471 stream->Add("[external-memory]"); | 4464 stream->Add("[external-memory]"); |
4472 break; | 4465 break; |
4473 } | 4466 } |
4474 | 4467 |
4475 stream->Add("@%d", offset()); | 4468 stream->Add("@%d", offset()); |
4476 } | 4469 } |
4477 | 4470 |
4478 } } // namespace v8::internal | 4471 } } // namespace v8::internal |
OLD | NEW |