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

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

Issue 7298003: Add fake data dependencies (instead of disabling GVN) to fix code motion (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: stricter instruction ordering Created 9 years, 5 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
« src/hydrogen-instructions.h ('K') | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 } 1752 }
1753 } 1753 }
1754 1754
1755 1755
1756 void HSimulate::Verify() { 1756 void HSimulate::Verify() {
1757 HInstruction::Verify(); 1757 HInstruction::Verify();
1758 ASSERT(HasAstId()); 1758 ASSERT(HasAstId());
1759 } 1759 }
1760 1760
1761 1761
1762 void HBoundsCheck::Verify() {
1763 HInstruction::Verify();
1764 }
1765
1766
1767 void HCheckSmi::Verify() { 1762 void HCheckSmi::Verify() {
1768 HInstruction::Verify(); 1763 HInstruction::Verify();
1769 ASSERT(HasNoUses()); 1764 ASSERT(HasNoUses());
1770 } 1765 }
1771 1766
1772 1767
1773 void HCheckNonSmi::Verify() { 1768 void HCheckNonSmi::Verify() {
1774 HInstruction::Verify(); 1769 HInstruction::Verify();
1775 ASSERT(HasNoUses()); 1770 ASSERT(HasNoUses());
1776 } 1771 }
1777 1772
1778 1773
1779 void HCheckInstanceType::Verify() {
1780 HInstruction::Verify();
1781 ASSERT(HasNoUses());
1782 }
1783
1784
1785 void HCheckMap::Verify() {
1786 HInstruction::Verify();
1787 ASSERT(HasNoUses());
1788 }
1789
1790
1791 void HCheckFunction::Verify() { 1774 void HCheckFunction::Verify() {
1792 HInstruction::Verify(); 1775 HInstruction::Verify();
1793 ASSERT(HasNoUses()); 1776 ASSERT(HasNoUses());
1794 } 1777 }
1795 1778
1796 1779
1797 void HCheckPrototypeMaps::Verify() { 1780 void HCheckPrototypeMaps::Verify() {
1798 HInstruction::Verify(); 1781 HInstruction::Verify();
1799 ASSERT(HasNoUses()); 1782 ASSERT(HasNoUses());
1800 } 1783 }
1801 1784
1802 #endif 1785 #endif
1803 1786
1804 } } // namespace v8::internal 1787 } } // namespace v8::internal
OLDNEW
« src/hydrogen-instructions.h ('K') | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698