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 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1599 return Bounds(Type::Internal()); | 1599 return Bounds(Type::Internal()); |
1600 } | 1600 } |
1601 | 1601 |
1602 | 1602 |
1603 Bounds Typer::Visitor::TypeInt32Mul(Node* node) { | 1603 Bounds Typer::Visitor::TypeInt32Mul(Node* node) { |
1604 return Bounds(Type::Integral32()); | 1604 return Bounds(Type::Integral32()); |
1605 } | 1605 } |
1606 | 1606 |
1607 | 1607 |
1608 Bounds Typer::Visitor::TypeInt32MulHigh(Node* node) { | 1608 Bounds Typer::Visitor::TypeInt32MulHigh(Node* node) { |
1609 return Bounds(Type::Integral32()); | 1609 return Bounds(Type::Signed32()); |
1610 } | 1610 } |
1611 | 1611 |
1612 | 1612 |
1613 Bounds Typer::Visitor::TypeInt32Div(Node* node) { | 1613 Bounds Typer::Visitor::TypeInt32Div(Node* node) { |
1614 return Bounds(Type::Integral32()); | 1614 return Bounds(Type::Integral32()); |
1615 } | 1615 } |
1616 | 1616 |
1617 | 1617 |
1618 Bounds Typer::Visitor::TypeInt32Mod(Node* node) { | 1618 Bounds Typer::Visitor::TypeInt32Mod(Node* node) { |
1619 return Bounds(Type::Integral32()); | 1619 return Bounds(Type::Integral32()); |
(...skipping 23 matching lines...) Expand all Loading... |
1643 Bounds Typer::Visitor::TypeUint32LessThanOrEqual(Node* node) { | 1643 Bounds Typer::Visitor::TypeUint32LessThanOrEqual(Node* node) { |
1644 return Bounds(Type::Boolean()); | 1644 return Bounds(Type::Boolean()); |
1645 } | 1645 } |
1646 | 1646 |
1647 | 1647 |
1648 Bounds Typer::Visitor::TypeUint32Mod(Node* node) { | 1648 Bounds Typer::Visitor::TypeUint32Mod(Node* node) { |
1649 return Bounds(Type::Unsigned32()); | 1649 return Bounds(Type::Unsigned32()); |
1650 } | 1650 } |
1651 | 1651 |
1652 | 1652 |
| 1653 Bounds Typer::Visitor::TypeUint32MulHigh(Node* node) { |
| 1654 return Bounds(Type::Unsigned32()); |
| 1655 } |
| 1656 |
| 1657 |
1653 Bounds Typer::Visitor::TypeInt64Add(Node* node) { | 1658 Bounds Typer::Visitor::TypeInt64Add(Node* node) { |
1654 return Bounds(Type::Internal()); | 1659 return Bounds(Type::Internal()); |
1655 } | 1660 } |
1656 | 1661 |
1657 | 1662 |
1658 Bounds Typer::Visitor::TypeInt64Sub(Node* node) { | 1663 Bounds Typer::Visitor::TypeInt64Sub(Node* node) { |
1659 return Bounds(Type::Internal()); | 1664 return Bounds(Type::Internal()); |
1660 } | 1665 } |
1661 | 1666 |
1662 | 1667 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1908 return typer_->float64_array_fun_; | 1913 return typer_->float64_array_fun_; |
1909 } | 1914 } |
1910 } | 1915 } |
1911 } | 1916 } |
1912 return Type::Constant(value, zone()); | 1917 return Type::Constant(value, zone()); |
1913 } | 1918 } |
1914 | 1919 |
1915 } | 1920 } |
1916 } | 1921 } |
1917 } // namespace v8::internal::compiler | 1922 } // namespace v8::internal::compiler |
OLD | NEW |