OLD | NEW |
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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 V(DeoptimizeIf, Operator::kFoldable, 2, 1, 1, 0, 1, 1) \ | 206 V(DeoptimizeIf, Operator::kFoldable, 2, 1, 1, 0, 1, 1) \ |
207 V(DeoptimizeUnless, Operator::kFoldable, 2, 1, 1, 0, 1, 1) \ | 207 V(DeoptimizeUnless, Operator::kFoldable, 2, 1, 1, 0, 1, 1) \ |
208 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 208 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
209 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 209 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
210 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 210 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
211 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 211 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
212 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \ | 212 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \ |
213 V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \ | 213 V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \ |
214 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ | 214 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ |
215 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ | 215 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ |
| 216 V(LoopExit, Operator::kKontrol, 0, 0, 2, 0, 0, 1) \ |
| 217 V(LoopExitValue, Operator::kPure, 1, 0, 1, 1, 0, 0) \ |
| 218 V(LoopExitEffect, Operator::kNoThrow, 0, 1, 1, 0, 1, 0) \ |
216 V(Checkpoint, Operator::kKontrol, 0, 1, 1, 0, 1, 0) \ | 219 V(Checkpoint, Operator::kKontrol, 0, 1, 1, 0, 1, 0) \ |
217 V(FinishRegion, Operator::kKontrol, 1, 1, 0, 1, 1, 0) | 220 V(FinishRegion, Operator::kKontrol, 1, 1, 0, 1, 1, 0) |
218 | 221 |
219 #define CACHED_RETURN_LIST(V) \ | 222 #define CACHED_RETURN_LIST(V) \ |
220 V(1) \ | 223 V(1) \ |
221 V(2) \ | 224 V(2) \ |
222 V(3) | 225 V(3) |
223 | 226 |
224 | 227 |
225 #define CACHED_END_LIST(V) \ | 228 #define CACHED_END_LIST(V) \ |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 CommonOperatorBuilder::CreateFrameStateFunctionInfo( | 948 CommonOperatorBuilder::CreateFrameStateFunctionInfo( |
946 FrameStateType type, int parameter_count, int local_count, | 949 FrameStateType type, int parameter_count, int local_count, |
947 Handle<SharedFunctionInfo> shared_info) { | 950 Handle<SharedFunctionInfo> shared_info) { |
948 return new (zone()->New(sizeof(FrameStateFunctionInfo))) | 951 return new (zone()->New(sizeof(FrameStateFunctionInfo))) |
949 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); | 952 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); |
950 } | 953 } |
951 | 954 |
952 } // namespace compiler | 955 } // namespace compiler |
953 } // namespace internal | 956 } // namespace internal |
954 } // namespace v8 | 957 } // namespace v8 |
OLD | NEW |