Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: src/compiler/typer.cc

Issue 1169723002: [turbofan] Initial support for the %_DateField intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Attempt to fix Windows. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/linkage.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698