OLD | NEW |
---|---|
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 Loading... | |
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 Loading... | |
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 |
OLD | NEW |