Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: src/hydrogen-instructions.cc

Issue 11377135: Don't emit code for instructions that are hiding behind an HSoftDeoptimize (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698