| 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/compiler/typer.h" | 5 #include "src/compiler/typer.h" |
| 6 | 6 |
| 7 #include "src/base/flags.h" | 7 #include "src/base/flags.h" |
| 8 #include "src/bootstrapper.h" | 8 #include "src/bootstrapper.h" |
| 9 #include "src/compilation-dependencies.h" | 9 #include "src/compilation-dependencies.h" |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1556 case Runtime::kInlineIsTypedArray: | 1556 case Runtime::kInlineIsTypedArray: |
| 1557 case Runtime::kInlineIsMinusZero: | 1557 case Runtime::kInlineIsMinusZero: |
| 1558 case Runtime::kInlineIsFunction: | 1558 case Runtime::kInlineIsFunction: |
| 1559 case Runtime::kInlineIsRegExp: | 1559 case Runtime::kInlineIsRegExp: |
| 1560 case Runtime::kInlineIsJSReceiver: | 1560 case Runtime::kInlineIsJSReceiver: |
| 1561 return Type::Boolean(zone()); | 1561 return Type::Boolean(zone()); |
| 1562 case Runtime::kInlineDoubleLo: | 1562 case Runtime::kInlineDoubleLo: |
| 1563 case Runtime::kInlineDoubleHi: | 1563 case Runtime::kInlineDoubleHi: |
| 1564 return Type::Signed32(); | 1564 return Type::Signed32(); |
| 1565 case Runtime::kInlineConstructDouble: | 1565 case Runtime::kInlineConstructDouble: |
| 1566 case Runtime::kInlineDateField: |
| 1566 case Runtime::kInlineMathFloor: | 1567 case Runtime::kInlineMathFloor: |
| 1567 case Runtime::kInlineMathSqrt: | 1568 case Runtime::kInlineMathSqrt: |
| 1568 case Runtime::kInlineMathAcos: | 1569 case Runtime::kInlineMathAcos: |
| 1569 case Runtime::kInlineMathAsin: | 1570 case Runtime::kInlineMathAsin: |
| 1570 case Runtime::kInlineMathAtan: | 1571 case Runtime::kInlineMathAtan: |
| 1571 case Runtime::kInlineMathAtan2: | 1572 case Runtime::kInlineMathAtan2: |
| 1572 return Type::Number(); | 1573 return Type::Number(); |
| 1573 case Runtime::kInlineMathClz32: | 1574 case Runtime::kInlineMathClz32: |
| 1574 return Type::Range(0, 32, zone()); | 1575 return Type::Range(0, 32, zone()); |
| 1575 case Runtime::kInlineCreateIterResultObject: | 1576 case Runtime::kInlineCreateIterResultObject: |
| (...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2431 } | 2432 } |
| 2432 if (Type::IsInteger(*value)) { | 2433 if (Type::IsInteger(*value)) { |
| 2433 return Type::Range(value->Number(), value->Number(), zone()); | 2434 return Type::Range(value->Number(), value->Number(), zone()); |
| 2434 } | 2435 } |
| 2435 return Type::Constant(value, zone()); | 2436 return Type::Constant(value, zone()); |
| 2436 } | 2437 } |
| 2437 | 2438 |
| 2438 } // namespace compiler | 2439 } // namespace compiler |
| 2439 } // namespace internal | 2440 } // namespace internal |
| 2440 } // namespace v8 | 2441 } // namespace v8 |
| OLD | NEW |