| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 } | 109 } |
| 110 | 110 |
| 111 | 111 |
| 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, 1, 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(Deoptimize, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ |
| 123 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ | 123 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ |
| 124 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ | 124 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ |
| 125 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) | 125 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) |
| 126 | 126 |
| 127 | 127 |
| 128 #define CACHED_EFFECT_PHI_LIST(V) \ | 128 #define CACHED_EFFECT_PHI_LIST(V) \ |
| 129 V(1) \ | 129 V(1) \ |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 } else { | 678 } else { |
| 679 UNREACHABLE(); | 679 UNREACHABLE(); |
| 680 return nullptr; | 680 return nullptr; |
| 681 } | 681 } |
| 682 } | 682 } |
| 683 | 683 |
| 684 | 684 |
| 685 } // namespace compiler | 685 } // namespace compiler |
| 686 } // namespace internal | 686 } // namespace internal |
| 687 } // namespace v8 | 687 } // namespace v8 |
| OLD | NEW |