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

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

Issue 2006423003: [turbofan] Remove the EmptyFrameState caching on JSGraph. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/js-graph.cc ('k') | src/compiler/js-typed-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 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 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 Reduction ReduceJSGeneratorRestoreContinuation(Node* node); 80 Reduction ReduceJSGeneratorRestoreContinuation(Node* node);
81 Reduction ReduceJSGeneratorRestoreRegister(Node* node); 81 Reduction ReduceJSGeneratorRestoreRegister(Node* node);
82 Reduction ReduceSelect(Node* node); 82 Reduction ReduceSelect(Node* node);
83 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); 83 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp);
84 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); 84 Reduction ReduceInt32Binop(Node* node, const Operator* intOp);
85 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, 85 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness,
86 const Operator* shift_op); 86 const Operator* shift_op);
87 87
88 Node* Word32Shl(Node* const lhs, int32_t const rhs); 88 Node* Word32Shl(Node* const lhs, int32_t const rhs);
89 89
90 Node* EmptyFrameState();
91
90 Factory* factory() const; 92 Factory* factory() const;
91 Graph* graph() const; 93 Graph* graph() const;
92 JSGraph* jsgraph() const { return jsgraph_; } 94 JSGraph* jsgraph() const { return jsgraph_; }
93 Isolate* isolate() const; 95 Isolate* isolate() const;
94 JSOperatorBuilder* javascript() const; 96 JSOperatorBuilder* javascript() const;
95 CommonOperatorBuilder* common() const; 97 CommonOperatorBuilder* common() const;
96 SimplifiedOperatorBuilder* simplified() const; 98 SimplifiedOperatorBuilder* simplified() const;
97 MachineOperatorBuilder* machine() const; 99 MachineOperatorBuilder* machine() const;
98 CompilationDependencies* dependencies() const; 100 CompilationDependencies* dependencies() const;
99 Flags flags() const { return flags_; } 101 Flags flags() const { return flags_; }
100 102
101 CompilationDependencies* dependencies_; 103 CompilationDependencies* dependencies_;
102 Flags flags_; 104 Flags flags_;
103 JSGraph* jsgraph_; 105 JSGraph* jsgraph_;
104 Type* shifted_int32_ranges_[4]; 106 Type* shifted_int32_ranges_[4];
105 Type* const true_type_; 107 Type* const true_type_;
106 Type* const false_type_; 108 Type* const false_type_;
107 Type* const the_hole_type_; 109 Type* const the_hole_type_;
108 TypeCache const& type_cache_; 110 TypeCache const& type_cache_;
109 }; 111 };
110 112
111 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) 113 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags)
112 114
113 } // namespace compiler 115 } // namespace compiler
114 } // namespace internal 116 } // namespace internal
115 } // namespace v8 117 } // namespace v8
116 118
117 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 119 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/js-graph.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698