| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
| 6 #include "src/compiler/graph-inl.h" | 6 #include "src/compiler/graph-inl.h" |
| 7 #include "src/compiler/js-operator.h" | 7 #include "src/compiler/js-operator.h" |
| 8 #include "src/compiler/node.h" | 8 #include "src/compiler/node.h" |
| 9 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
| 10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
| (...skipping 1752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1763 Bounds Typer::Visitor::TypeFloat64LessThan(Node* node) { | 1763 Bounds Typer::Visitor::TypeFloat64LessThan(Node* node) { |
| 1764 return Bounds(Type::Boolean()); | 1764 return Bounds(Type::Boolean()); |
| 1765 } | 1765 } |
| 1766 | 1766 |
| 1767 | 1767 |
| 1768 Bounds Typer::Visitor::TypeFloat64LessThanOrEqual(Node* node) { | 1768 Bounds Typer::Visitor::TypeFloat64LessThanOrEqual(Node* node) { |
| 1769 return Bounds(Type::Boolean()); | 1769 return Bounds(Type::Boolean()); |
| 1770 } | 1770 } |
| 1771 | 1771 |
| 1772 | 1772 |
| 1773 Bounds Typer::Visitor::TypeFloat64Floor(Node* node) { |
| 1774 // TODO(sigurds): We could have a tighter bound here. |
| 1775 return Bounds(Type::Number()); |
| 1776 } |
| 1777 |
| 1778 |
| 1779 Bounds Typer::Visitor::TypeFloat64Ceil(Node* node) { |
| 1780 // TODO(sigurds): We could have a tighter bound here. |
| 1781 return Bounds(Type::Number()); |
| 1782 } |
| 1783 |
| 1784 |
| 1785 Bounds Typer::Visitor::TypeFloat64RoundTruncate(Node* node) { |
| 1786 // TODO(sigurds): We could have a tighter bound here. |
| 1787 return Bounds(Type::Number()); |
| 1788 } |
| 1789 |
| 1790 |
| 1791 Bounds Typer::Visitor::TypeFloat64RoundTiesAway(Node* node) { |
| 1792 // TODO(sigurds): We could have a tighter bound here. |
| 1793 return Bounds(Type::Number()); |
| 1794 } |
| 1795 |
| 1796 |
| 1773 Bounds Typer::Visitor::TypeLoadStackPointer(Node* node) { | 1797 Bounds Typer::Visitor::TypeLoadStackPointer(Node* node) { |
| 1774 return Bounds(Type::Internal()); | 1798 return Bounds(Type::Internal()); |
| 1775 } | 1799 } |
| 1776 | 1800 |
| 1777 | 1801 |
| 1778 // Heap constants. | 1802 // Heap constants. |
| 1779 | 1803 |
| 1780 | 1804 |
| 1781 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { | 1805 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { |
| 1782 if (value->IsJSFunction()) { | 1806 if (value->IsJSFunction()) { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1851 return typer_->float64_array_fun_; | 1875 return typer_->float64_array_fun_; |
| 1852 } | 1876 } |
| 1853 } | 1877 } |
| 1854 } | 1878 } |
| 1855 return Type::Constant(value, zone()); | 1879 return Type::Constant(value, zone()); |
| 1856 } | 1880 } |
| 1857 | 1881 |
| 1858 } | 1882 } |
| 1859 } | 1883 } |
| 1860 } // namespace v8::internal::compiler | 1884 } // namespace v8::internal::compiler |
| OLD | NEW |