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

Side by Side Diff: src/compiler/common-operator.h

Issue 1721103003: [turbofan] Introduce DeoptimizeIf And DeoptimizeUnless common operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comments Created 4 years, 9 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-generator-impl.h ('k') | src/compiler/common-operator.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_COMMON_OPERATOR_H_ 5 #ifndef V8_COMPILER_COMMON_OPERATOR_H_
6 #define V8_COMPILER_COMMON_OPERATOR_H_ 6 #define V8_COMPILER_COMMON_OPERATOR_H_
7 7
8 #include "src/compiler/frame-states.h" 8 #include "src/compiler/frame-states.h"
9 #include "src/machine-type.h" 9 #include "src/machine-type.h"
10 #include "src/zone-containers.h" 10 #include "src/zone-containers.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 const Operator* Branch(BranchHint = BranchHint::kNone); 126 const Operator* Branch(BranchHint = BranchHint::kNone);
127 const Operator* IfTrue(); 127 const Operator* IfTrue();
128 const Operator* IfFalse(); 128 const Operator* IfFalse();
129 const Operator* IfSuccess(); 129 const Operator* IfSuccess();
130 const Operator* IfException(IfExceptionHint hint); 130 const Operator* IfException(IfExceptionHint hint);
131 const Operator* Switch(size_t control_output_count); 131 const Operator* Switch(size_t control_output_count);
132 const Operator* IfValue(int32_t value); 132 const Operator* IfValue(int32_t value);
133 const Operator* IfDefault(); 133 const Operator* IfDefault();
134 const Operator* Throw(); 134 const Operator* Throw();
135 const Operator* Deoptimize(DeoptimizeKind kind); 135 const Operator* Deoptimize(DeoptimizeKind kind);
136 const Operator* DeoptimizeIf();
137 const Operator* DeoptimizeUnless();
136 const Operator* Return(int value_input_count = 1); 138 const Operator* Return(int value_input_count = 1);
137 const Operator* Terminate(); 139 const Operator* Terminate();
138 140
139 const Operator* Start(int value_output_count); 141 const Operator* Start(int value_output_count);
140 const Operator* Loop(int control_input_count); 142 const Operator* Loop(int control_input_count);
141 const Operator* Merge(int control_input_count); 143 const Operator* Merge(int control_input_count);
142 const Operator* Parameter(int index, const char* debug_name = nullptr); 144 const Operator* Parameter(int index, const char* debug_name = nullptr);
143 145
144 const Operator* OsrNormalEntry(); 146 const Operator* OsrNormalEntry();
145 const Operator* OsrLoopEntry(); 147 const Operator* OsrLoopEntry();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 Zone* const zone_; 189 Zone* const zone_;
188 190
189 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 191 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
190 }; 192 };
191 193
192 } // namespace compiler 194 } // namespace compiler
193 } // namespace internal 195 } // namespace internal
194 } // namespace v8 196 } // namespace v8
195 197
196 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 198 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/code-generator-impl.h ('k') | src/compiler/common-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698