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

Side by Side Diff: src/compiler/js-intrinsic-lowering.cc

Issue 1699133002: [intrinsics] Remove the %_IsDate intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@BooleanConstructor
Patch Set: Created 4 years, 10 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 | « no previous file | src/crankshaft/hydrogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/js-intrinsic-lowering.h" 5 #include "src/compiler/js-intrinsic-lowering.h"
6 6
7 #include <stack> 7 #include <stack>
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/compiler/access-builder.h" 10 #include "src/compiler/access-builder.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 case Runtime::kInlineDeoptimizeNow: 42 case Runtime::kInlineDeoptimizeNow:
43 return ReduceDeoptimizeNow(node); 43 return ReduceDeoptimizeNow(node);
44 case Runtime::kInlineDoubleHi: 44 case Runtime::kInlineDoubleHi:
45 return ReduceDoubleHi(node); 45 return ReduceDoubleHi(node);
46 case Runtime::kInlineDoubleLo: 46 case Runtime::kInlineDoubleLo:
47 return ReduceDoubleLo(node); 47 return ReduceDoubleLo(node);
48 case Runtime::kInlineIncrementStatsCounter: 48 case Runtime::kInlineIncrementStatsCounter:
49 return ReduceIncrementStatsCounter(node); 49 return ReduceIncrementStatsCounter(node);
50 case Runtime::kInlineIsArray: 50 case Runtime::kInlineIsArray:
51 return ReduceIsInstanceType(node, JS_ARRAY_TYPE); 51 return ReduceIsInstanceType(node, JS_ARRAY_TYPE);
52 case Runtime::kInlineIsDate:
53 return ReduceIsInstanceType(node, JS_DATE_TYPE);
54 case Runtime::kInlineIsTypedArray: 52 case Runtime::kInlineIsTypedArray:
55 return ReduceIsInstanceType(node, JS_TYPED_ARRAY_TYPE); 53 return ReduceIsInstanceType(node, JS_TYPED_ARRAY_TYPE);
56 case Runtime::kInlineIsRegExp: 54 case Runtime::kInlineIsRegExp:
57 return ReduceIsInstanceType(node, JS_REGEXP_TYPE); 55 return ReduceIsInstanceType(node, JS_REGEXP_TYPE);
58 case Runtime::kInlineIsJSReceiver: 56 case Runtime::kInlineIsJSReceiver:
59 return ReduceIsJSReceiver(node); 57 return ReduceIsJSReceiver(node);
60 case Runtime::kInlineIsSmi: 58 case Runtime::kInlineIsSmi:
61 return ReduceIsSmi(node); 59 return ReduceIsSmi(node);
62 case Runtime::kInlineMathClz32: 60 case Runtime::kInlineMathClz32:
63 return ReduceMathClz32(node); 61 return ReduceMathClz32(node);
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 } 603 }
606 604
607 605
608 SimplifiedOperatorBuilder* JSIntrinsicLowering::simplified() const { 606 SimplifiedOperatorBuilder* JSIntrinsicLowering::simplified() const {
609 return jsgraph()->simplified(); 607 return jsgraph()->simplified();
610 } 608 }
611 609
612 } // namespace compiler 610 } // namespace compiler
613 } // namespace internal 611 } // namespace internal
614 } // namespace v8 612 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/crankshaft/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698