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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 #define CACHED_OP_LIST(V) \ | 112 #define CACHED_OP_LIST(V) \ |
113 V(Always, Operator::kPure, 0, 0, 0, 1, 0, 0) \ | 113 V(Always, Operator::kPure, 0, 0, 0, 1, 0, 0) \ |
114 V(Dead, Operator::kFoldable, 0, 0, 0, 0, 0, 1) \ | 114 V(Dead, Operator::kFoldable, 0, 0, 0, 0, 0, 1) \ |
115 V(End, Operator::kKontrol, 0, 0, 1, 0, 0, 0) \ | 115 V(End, Operator::kKontrol, 0, 0, 1, 0, 0, 0) \ |
116 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 116 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
117 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 117 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
118 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 118 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
119 V(IfException, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 119 V(IfException, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
120 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 120 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
121 V(Throw, Operator::kFoldable, 1, 1, 1, 0, 0, 1) \ | 121 V(Throw, Operator::kFoldable, 1, 1, 1, 0, 0, 1) \ |
| 122 V(Deoptimize, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ |
122 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ | 123 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ |
123 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ | 124 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ |
124 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) | 125 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) |
125 | 126 |
126 | 127 |
127 #define CACHED_LOOP_LIST(V) \ | 128 #define CACHED_LOOP_LIST(V) \ |
128 V(1) \ | 129 V(1) \ |
129 V(2) | 130 V(2) |
130 | 131 |
131 | 132 |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 } else { | 532 } else { |
532 UNREACHABLE(); | 533 UNREACHABLE(); |
533 return nullptr; | 534 return nullptr; |
534 } | 535 } |
535 } | 536 } |
536 | 537 |
537 | 538 |
538 } // namespace compiler | 539 } // namespace compiler |
539 } // namespace internal | 540 } // namespace internal |
540 } // namespace v8 | 541 } // namespace v8 |
OLD | NEW |