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

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

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/access-builder.cc ('k') | src/compiler/js-intrinsic-lowering.cc » ('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 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_
6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
(...skipping 14 matching lines...) Expand all
25 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; 25 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled };
26 26
27 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, 27 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph,
28 DeoptimizationMode mode); 28 DeoptimizationMode mode);
29 ~JSIntrinsicLowering() final {} 29 ~JSIntrinsicLowering() final {}
30 30
31 Reduction Reduce(Node* node) final; 31 Reduction Reduce(Node* node) final;
32 32
33 private: 33 private:
34 Reduction ReduceConstructDouble(Node* node); 34 Reduction ReduceConstructDouble(Node* node);
35 Reduction ReduceDateField(Node* node);
35 Reduction ReduceDeoptimizeNow(Node* node); 36 Reduction ReduceDeoptimizeNow(Node* node);
36 Reduction ReduceDoubleHi(Node* node); 37 Reduction ReduceDoubleHi(Node* node);
37 Reduction ReduceDoubleLo(Node* node); 38 Reduction ReduceDoubleLo(Node* node);
38 Reduction ReduceHeapObjectGetMap(Node* node); 39 Reduction ReduceHeapObjectGetMap(Node* node);
39 Reduction ReduceIncrementStatsCounter(Node* node); 40 Reduction ReduceIncrementStatsCounter(Node* node);
40 Reduction ReduceIsMinusZero(Node* node); 41 Reduction ReduceIsMinusZero(Node* node);
41 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); 42 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type);
42 Reduction ReduceIsNonNegativeSmi(Node* node); 43 Reduction ReduceIsNonNegativeSmi(Node* node);
43 Reduction ReduceIsSmi(Node* node); 44 Reduction ReduceIsSmi(Node* node);
44 Reduction ReduceJSValueGetValue(Node* node); 45 Reduction ReduceJSValueGetValue(Node* node);
(...skipping 25 matching lines...) Expand all
70 JSGraph* const jsgraph_; 71 JSGraph* const jsgraph_;
71 DeoptimizationMode const mode_; 72 DeoptimizationMode const mode_;
72 SimplifiedOperatorBuilder simplified_; 73 SimplifiedOperatorBuilder simplified_;
73 }; 74 };
74 75
75 } // namespace compiler 76 } // namespace compiler
76 } // namespace internal 77 } // namespace internal
77 } // namespace v8 78 } // namespace v8
78 79
79 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 80 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/js-intrinsic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698