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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 } | 730 } |
731 | 731 |
732 // Verify that instructions that can be eliminated by GVN have overridden | 732 // Verify that instructions that can be eliminated by GVN have overridden |
733 // HValue::DataEquals. The default implementation is UNREACHABLE. We | 733 // HValue::DataEquals. The default implementation is UNREACHABLE. We |
734 // don't actually care whether DataEquals returns true or false here. | 734 // don't actually care whether DataEquals returns true or false here. |
735 if (CheckFlag(kUseGVN)) DataEquals(this); | 735 if (CheckFlag(kUseGVN)) DataEquals(this); |
736 } | 736 } |
737 #endif | 737 #endif |
738 | 738 |
739 | 739 |
| 740 void HDummyUse::PrintDataTo(StringStream* stream) { |
| 741 value()->PrintNameTo(stream); |
| 742 } |
| 743 |
| 744 |
740 void HUnaryCall::PrintDataTo(StringStream* stream) { | 745 void HUnaryCall::PrintDataTo(StringStream* stream) { |
741 value()->PrintNameTo(stream); | 746 value()->PrintNameTo(stream); |
742 stream->Add(" "); | 747 stream->Add(" "); |
743 stream->Add("#%d", argument_count()); | 748 stream->Add("#%d", argument_count()); |
744 } | 749 } |
745 | 750 |
746 | 751 |
747 void HBinaryCall::PrintDataTo(StringStream* stream) { | 752 void HBinaryCall::PrintDataTo(StringStream* stream) { |
748 first()->PrintNameTo(stream); | 753 first()->PrintNameTo(stream); |
749 stream->Add(" "); | 754 stream->Add(" "); |
(...skipping 2015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2765 | 2770 |
2766 | 2771 |
2767 void HCheckFunction::Verify() { | 2772 void HCheckFunction::Verify() { |
2768 HInstruction::Verify(); | 2773 HInstruction::Verify(); |
2769 ASSERT(HasNoUses()); | 2774 ASSERT(HasNoUses()); |
2770 } | 2775 } |
2771 | 2776 |
2772 #endif | 2777 #endif |
2773 | 2778 |
2774 } } // namespace v8::internal | 2779 } } // namespace v8::internal |
OLD | NEW |