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

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

Issue 7168013: Generate better branch code for instanceof-predicates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' 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') | 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 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 HType HCompareJSObjectEq::CalculateInferredType() { 1572 HType HCompareJSObjectEq::CalculateInferredType() {
1573 return HType::Boolean(); 1573 return HType::Boolean();
1574 } 1574 }
1575 1575
1576 1576
1577 HType HUnaryPredicate::CalculateInferredType() { 1577 HType HUnaryPredicate::CalculateInferredType() {
1578 return HType::Boolean(); 1578 return HType::Boolean();
1579 } 1579 }
1580 1580
1581 1581
1582 HType HInstanceOf::CalculateInferredType() {
1583 return HType::Boolean();
1584 }
1585
1586
1587 HType HDeleteProperty::CalculateInferredType() {
1588 return HType::Boolean();
1589 }
1590
1591
1592 HType HInstanceOfKnownGlobal::CalculateInferredType() {
1593 return HType::Boolean();
1594 }
1595
1596
1582 HType HBitwiseBinaryOperation::CalculateInferredType() { 1597 HType HBitwiseBinaryOperation::CalculateInferredType() {
1583 return HType::TaggedNumber(); 1598 return HType::TaggedNumber();
1584 } 1599 }
1585 1600
1586 1601
1587 HType HArithmeticBinaryOperation::CalculateInferredType() { 1602 HType HArithmeticBinaryOperation::CalculateInferredType() {
1588 return HType::TaggedNumber(); 1603 return HType::TaggedNumber();
1589 } 1604 }
1590 1605
1591 1606
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1785 1800
1786 1801
1787 void HCheckPrototypeMaps::Verify() { 1802 void HCheckPrototypeMaps::Verify() {
1788 HInstruction::Verify(); 1803 HInstruction::Verify();
1789 ASSERT(HasNoUses()); 1804 ASSERT(HasNoUses());
1790 } 1805 }
1791 1806
1792 #endif 1807 #endif
1793 1808
1794 } } // namespace v8::internal 1809 } } // 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