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 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1587 case Runtime::kInlineIsNonNegativeSmi: | 1587 case Runtime::kInlineIsNonNegativeSmi: |
1588 case Runtime::kInlineIsArray: | 1588 case Runtime::kInlineIsArray: |
1589 case Runtime::kInlineIsMinusZero: | 1589 case Runtime::kInlineIsMinusZero: |
1590 case Runtime::kInlineIsFunction: | 1590 case Runtime::kInlineIsFunction: |
1591 case Runtime::kInlineIsRegExp: | 1591 case Runtime::kInlineIsRegExp: |
1592 return Bounds(Type::None(zone()), Type::Boolean(zone())); | 1592 return Bounds(Type::None(zone()), Type::Boolean(zone())); |
1593 case Runtime::kInlineDoubleLo: | 1593 case Runtime::kInlineDoubleLo: |
1594 case Runtime::kInlineDoubleHi: | 1594 case Runtime::kInlineDoubleHi: |
1595 return Bounds(Type::None(zone()), Type::Signed32()); | 1595 return Bounds(Type::None(zone()), Type::Signed32()); |
1596 case Runtime::kInlineConstructDouble: | 1596 case Runtime::kInlineConstructDouble: |
| 1597 case Runtime::kInlineDateField: |
1597 case Runtime::kInlineMathFloor: | 1598 case Runtime::kInlineMathFloor: |
1598 case Runtime::kInlineMathSqrt: | 1599 case Runtime::kInlineMathSqrt: |
1599 case Runtime::kInlineMathAcos: | 1600 case Runtime::kInlineMathAcos: |
1600 case Runtime::kInlineMathAsin: | 1601 case Runtime::kInlineMathAsin: |
1601 case Runtime::kInlineMathAtan: | 1602 case Runtime::kInlineMathAtan: |
1602 case Runtime::kInlineMathAtan2: | 1603 case Runtime::kInlineMathAtan2: |
1603 return Bounds(Type::None(zone()), Type::Number()); | 1604 return Bounds(Type::None(zone()), Type::Number()); |
1604 case Runtime::kInlineMathClz32: | 1605 case Runtime::kInlineMathClz32: |
1605 return Bounds(Type::None(), Type::Range(0, 32, zone())); | 1606 return Bounds(Type::None(), Type::Range(0, 32, zone())); |
1606 case Runtime::kInlineStringGetLength: | 1607 case Runtime::kInlineStringGetLength: |
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2400 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 2401 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
2401 #undef TYPED_ARRAY_CASE | 2402 #undef TYPED_ARRAY_CASE |
2402 } | 2403 } |
2403 } | 2404 } |
2404 return Type::Constant(value, zone()); | 2405 return Type::Constant(value, zone()); |
2405 } | 2406 } |
2406 | 2407 |
2407 } // namespace compiler | 2408 } // namespace compiler |
2408 } // namespace internal | 2409 } // namespace internal |
2409 } // namespace v8 | 2410 } // namespace v8 |
OLD | NEW |