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

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

Issue 7003054: Fix bug with GVN on array loads. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: fixed performance regression Created 9 years, 6 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') | test/mjsunit/regress/regress-85177.js » ('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 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 1716 matching lines...) Expand 10 before | Expand all | Expand 10 after
1727 1727
1728 1728
1729 void HSimulate::Verify() { 1729 void HSimulate::Verify() {
1730 HInstruction::Verify(); 1730 HInstruction::Verify();
1731 ASSERT(HasAstId()); 1731 ASSERT(HasAstId());
1732 } 1732 }
1733 1733
1734 1734
1735 void HBoundsCheck::Verify() { 1735 void HBoundsCheck::Verify() {
1736 HInstruction::Verify(); 1736 HInstruction::Verify();
1737 ASSERT(HasNoUses());
Mads Ager (chromium) 2011/06/09 10:58:50 It seemed like a very good idea to have the assert
fschneider 2011/06/09 11:03:52 The problem is that HBoundsCheck does only have us
1738 } 1737 }
1739 1738
1740 1739
1741 void HCheckSmi::Verify() { 1740 void HCheckSmi::Verify() {
1742 HInstruction::Verify(); 1741 HInstruction::Verify();
1743 ASSERT(HasNoUses()); 1742 ASSERT(HasNoUses());
1744 } 1743 }
1745 1744
1746 1745
1747 void HCheckNonSmi::Verify() { 1746 void HCheckNonSmi::Verify() {
(...skipping 21 matching lines...) Expand all
1769 1768
1770 1769
1771 void HCheckPrototypeMaps::Verify() { 1770 void HCheckPrototypeMaps::Verify() {
1772 HInstruction::Verify(); 1771 HInstruction::Verify();
1773 ASSERT(HasNoUses()); 1772 ASSERT(HasNoUses());
1774 } 1773 }
1775 1774
1776 #endif 1775 #endif
1777 1776
1778 } } // namespace v8::internal 1777 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | test/mjsunit/regress/regress-85177.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698