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

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: rebase; handle HLoadElements differently 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
« no previous file with comments | « 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 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after
1769 } 1769 }
1770 } 1770 }
1771 1771
1772 1772
1773 void HSimulate::Verify() { 1773 void HSimulate::Verify() {
1774 HInstruction::Verify(); 1774 HInstruction::Verify();
1775 ASSERT(HasAstId()); 1775 ASSERT(HasAstId());
1776 } 1776 }
1777 1777
1778 1778
1779 void HBoundsCheck::Verify() {
1780 HInstruction::Verify();
1781 }
1782
1783
1784 void HCheckSmi::Verify() { 1779 void HCheckSmi::Verify() {
1785 HInstruction::Verify(); 1780 HInstruction::Verify();
1786 ASSERT(HasNoUses()); 1781 ASSERT(HasNoUses());
1787 } 1782 }
1788 1783
1789 1784
1790 void HCheckNonSmi::Verify() { 1785 void HCheckNonSmi::Verify() {
1791 HInstruction::Verify(); 1786 HInstruction::Verify();
1792 ASSERT(HasNoUses()); 1787 ASSERT(HasNoUses());
1793 } 1788 }
1794 1789
1795 1790
1796 void HCheckInstanceType::Verify() {
1797 HInstruction::Verify();
1798 ASSERT(HasNoUses());
1799 }
1800
1801
1802 void HCheckMap::Verify() {
1803 HInstruction::Verify();
1804 ASSERT(HasNoUses());
1805 }
1806
1807
1808 void HCheckFunction::Verify() { 1791 void HCheckFunction::Verify() {
1809 HInstruction::Verify(); 1792 HInstruction::Verify();
1810 ASSERT(HasNoUses()); 1793 ASSERT(HasNoUses());
1811 } 1794 }
1812 1795
1813 1796
1814 void HCheckPrototypeMaps::Verify() { 1797 void HCheckPrototypeMaps::Verify() {
1815 HInstruction::Verify(); 1798 HInstruction::Verify();
1816 ASSERT(HasNoUses()); 1799 ASSERT(HasNoUses());
1817 } 1800 }
1818 1801
1819 #endif 1802 #endif
1820 1803
1821 } } // namespace v8::internal 1804 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698