| 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/base/flags.h" | 5 #include "src/base/flags.h" |
| 6 #include "src/bootstrapper.h" | 6 #include "src/bootstrapper.h" |
| 7 #include "src/compiler/graph-reducer.h" | 7 #include "src/compiler/graph-reducer.h" |
| 8 #include "src/compiler/js-operator.h" | 8 #include "src/compiler/js-operator.h" |
| 9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
| 10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
| (...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1504 case Runtime::kInlineIsNonNegativeSmi: | 1504 case Runtime::kInlineIsNonNegativeSmi: |
| 1505 case Runtime::kInlineIsArray: | 1505 case Runtime::kInlineIsArray: |
| 1506 case Runtime::kInlineIsFunction: | 1506 case Runtime::kInlineIsFunction: |
| 1507 case Runtime::kInlineIsRegExp: | 1507 case Runtime::kInlineIsRegExp: |
| 1508 return Bounds(Type::None(zone()), Type::Boolean(zone())); | 1508 return Bounds(Type::None(zone()), Type::Boolean(zone())); |
| 1509 case Runtime::kInlineDoubleLo: | 1509 case Runtime::kInlineDoubleLo: |
| 1510 case Runtime::kInlineDoubleHi: | 1510 case Runtime::kInlineDoubleHi: |
| 1511 return Bounds(Type::None(zone()), Type::Signed32()); | 1511 return Bounds(Type::None(zone()), Type::Signed32()); |
| 1512 case Runtime::kInlineConstructDouble: | 1512 case Runtime::kInlineConstructDouble: |
| 1513 case Runtime::kInlineMathFloor: | 1513 case Runtime::kInlineMathFloor: |
| 1514 case Runtime::kInlineMathSqrt: |
| 1514 return Bounds(Type::None(zone()), Type::Number()); | 1515 return Bounds(Type::None(zone()), Type::Number()); |
| 1515 default: | 1516 default: |
| 1516 break; | 1517 break; |
| 1517 } | 1518 } |
| 1518 return Bounds::Unbounded(zone()); | 1519 return Bounds::Unbounded(zone()); |
| 1519 } | 1520 } |
| 1520 | 1521 |
| 1521 | 1522 |
| 1522 Bounds Typer::Visitor::TypeJSDebugger(Node* node) { | 1523 Bounds Typer::Visitor::TypeJSDebugger(Node* node) { |
| 1523 UNREACHABLE(); | 1524 UNREACHABLE(); |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2222 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 2223 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
| 2223 #undef TYPED_ARRAY_CASE | 2224 #undef TYPED_ARRAY_CASE |
| 2224 } | 2225 } |
| 2225 } | 2226 } |
| 2226 return Type::Constant(value, zone()); | 2227 return Type::Constant(value, zone()); |
| 2227 } | 2228 } |
| 2228 | 2229 |
| 2229 } // namespace compiler | 2230 } // namespace compiler |
| 2230 } // namespace internal | 2231 } // namespace internal |
| 2231 } // namespace v8 | 2232 } // namespace v8 |
| OLD | NEW |