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

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

Issue 1993593002: [turbofan] Introduce CheckPoint common operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/common-operator.h ('k') | src/compiler/effect-control-linearizer.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 #include "src/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 V(DeoptimizeIf, Operator::kFoldable, 2, 1, 1, 0, 0, 1) \ 172 V(DeoptimizeIf, Operator::kFoldable, 2, 1, 1, 0, 0, 1) \
173 V(DeoptimizeUnless, Operator::kFoldable, 2, 1, 1, 0, 0, 1) \ 173 V(DeoptimizeUnless, Operator::kFoldable, 2, 1, 1, 0, 0, 1) \
174 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 174 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
175 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 175 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
176 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 176 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
177 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ 177 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
178 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \ 178 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \
179 V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \ 179 V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \
180 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ 180 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \
181 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ 181 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \
182 V(CheckPoint, Operator::kKontrol, 1, 1, 1, 0, 1, 0) \
182 V(BeginRegion, Operator::kNoThrow, 0, 1, 0, 0, 1, 0) \ 183 V(BeginRegion, Operator::kNoThrow, 0, 1, 0, 0, 1, 0) \
183 V(FinishRegion, Operator::kNoThrow, 1, 1, 0, 1, 1, 0) 184 V(FinishRegion, Operator::kNoThrow, 1, 1, 0, 1, 1, 0)
184 185
185 #define CACHED_RETURN_LIST(V) \ 186 #define CACHED_RETURN_LIST(V) \
186 V(1) \ 187 V(1) \
187 V(2) \ 188 V(2) \
188 V(3) 189 V(3)
189 190
190 191
191 #define CACHED_END_LIST(V) \ 192 #define CACHED_END_LIST(V) \
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 CommonOperatorBuilder::CreateFrameStateFunctionInfo( 896 CommonOperatorBuilder::CreateFrameStateFunctionInfo(
896 FrameStateType type, int parameter_count, int local_count, 897 FrameStateType type, int parameter_count, int local_count,
897 Handle<SharedFunctionInfo> shared_info) { 898 Handle<SharedFunctionInfo> shared_info) {
898 return new (zone()->New(sizeof(FrameStateFunctionInfo))) 899 return new (zone()->New(sizeof(FrameStateFunctionInfo)))
899 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); 900 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info);
900 } 901 }
901 902
902 } // namespace compiler 903 } // namespace compiler
903 } // namespace internal 904 } // namespace internal
904 } // namespace v8 905 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/common-operator.h ('k') | src/compiler/effect-control-linearizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698