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

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

Issue 1980483003: [es6] Reintroduce the instanceof operator in the backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Igors comments. Created 4 years, 7 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/code-assembler.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 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 Reduction ReduceToInteger(Node* node); 56 Reduction ReduceToInteger(Node* node);
57 Reduction ReduceToLength(Node* node); 57 Reduction ReduceToLength(Node* node);
58 Reduction ReduceToName(Node* node); 58 Reduction ReduceToName(Node* node);
59 Reduction ReduceToNumber(Node* node); 59 Reduction ReduceToNumber(Node* node);
60 Reduction ReduceToObject(Node* node); 60 Reduction ReduceToObject(Node* node);
61 Reduction ReduceToPrimitive(Node* node); 61 Reduction ReduceToPrimitive(Node* node);
62 Reduction ReduceToString(Node* node); 62 Reduction ReduceToString(Node* node);
63 Reduction ReduceCall(Node* node); 63 Reduction ReduceCall(Node* node);
64 Reduction ReduceNewObject(Node* node); 64 Reduction ReduceNewObject(Node* node);
65 Reduction ReduceGetSuperConstructor(Node* node); 65 Reduction ReduceGetSuperConstructor(Node* node);
66 Reduction ReduceGetOrdinaryHasInstance(Node* node);
67 66
68 Reduction Change(Node* node, const Operator* op); 67 Reduction Change(Node* node, const Operator* op);
69 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); 68 Reduction Change(Node* node, const Operator* op, Node* a, Node* b);
70 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); 69 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c);
71 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, 70 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c,
72 Node* d); 71 Node* d);
73 Reduction Change(Node* node, Callable const& callable, 72 Reduction Change(Node* node, Callable const& callable,
74 int stack_parameter_count); 73 int stack_parameter_count);
75 74
76 Graph* graph() const; 75 Graph* graph() const;
77 JSGraph* jsgraph() const { return jsgraph_; } 76 JSGraph* jsgraph() const { return jsgraph_; }
78 Isolate* isolate() const; 77 Isolate* isolate() const;
79 CommonOperatorBuilder* common() const; 78 CommonOperatorBuilder* common() const;
80 JSOperatorBuilder* javascript() const; 79 JSOperatorBuilder* javascript() const;
81 MachineOperatorBuilder* machine() const; 80 MachineOperatorBuilder* machine() const;
82 SimplifiedOperatorBuilder* simplified() const; 81 SimplifiedOperatorBuilder* simplified() const;
83 DeoptimizationMode mode() const { return mode_; } 82 DeoptimizationMode mode() const { return mode_; }
84 83
85 JSGraph* const jsgraph_; 84 JSGraph* const jsgraph_;
86 DeoptimizationMode const mode_; 85 DeoptimizationMode const mode_;
87 }; 86 };
88 87
89 } // namespace compiler 88 } // namespace compiler
90 } // namespace internal 89 } // namespace internal
91 } // namespace v8 90 } // namespace v8
92 91
93 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 92 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/compiler/js-intrinsic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698