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

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

Issue 2146293003: [builtins] implement Array.prototype.includes in TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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
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 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 Reduction ReduceRegExpSource(Node* node); 53 Reduction ReduceRegExpSource(Node* node);
54 Reduction ReduceSubString(Node* node); 54 Reduction ReduceSubString(Node* node);
55 Reduction ReduceToInteger(Node* node); 55 Reduction ReduceToInteger(Node* node);
56 Reduction ReduceToLength(Node* node); 56 Reduction ReduceToLength(Node* node);
57 Reduction ReduceToNumber(Node* node); 57 Reduction ReduceToNumber(Node* node);
58 Reduction ReduceToObject(Node* node); 58 Reduction ReduceToObject(Node* node);
59 Reduction ReduceToString(Node* node); 59 Reduction ReduceToString(Node* node);
60 Reduction ReduceCall(Node* node); 60 Reduction ReduceCall(Node* node);
61 Reduction ReduceNewObject(Node* node); 61 Reduction ReduceNewObject(Node* node);
62 Reduction ReduceGetSuperConstructor(Node* node); 62 Reduction ReduceGetSuperConstructor(Node* node);
63 Reduction ReduceSameValueZero(Node* node);
63 64
64 Reduction Change(Node* node, const Operator* op); 65 Reduction Change(Node* node, const Operator* op);
65 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); 66 Reduction Change(Node* node, const Operator* op, Node* a, Node* b);
66 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); 67 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c);
67 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, 68 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c,
68 Node* d); 69 Node* d);
69 Reduction Change(Node* node, Callable const& callable, 70 Reduction Change(Node* node, Callable const& callable,
70 int stack_parameter_count); 71 int stack_parameter_count);
71 72
72 Graph* graph() const; 73 Graph* graph() const;
73 JSGraph* jsgraph() const { return jsgraph_; } 74 JSGraph* jsgraph() const { return jsgraph_; }
74 Isolate* isolate() const; 75 Isolate* isolate() const;
75 CommonOperatorBuilder* common() const; 76 CommonOperatorBuilder* common() const;
76 JSOperatorBuilder* javascript() const; 77 JSOperatorBuilder* javascript() const;
77 MachineOperatorBuilder* machine() const; 78 MachineOperatorBuilder* machine() const;
78 SimplifiedOperatorBuilder* simplified() const; 79 SimplifiedOperatorBuilder* simplified() const;
79 DeoptimizationMode mode() const { return mode_; } 80 DeoptimizationMode mode() const { return mode_; }
80 81
81 JSGraph* const jsgraph_; 82 JSGraph* const jsgraph_;
82 DeoptimizationMode const mode_; 83 DeoptimizationMode const mode_;
83 }; 84 };
84 85
85 } // namespace compiler 86 } // namespace compiler
86 } // namespace internal 87 } // namespace internal
87 } // namespace v8 88 } // namespace v8
88 89
89 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 90 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698