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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 #define CACHED_OP_LIST(V) \ | 103 #define CACHED_OP_LIST(V) \ |
104 V(Dead, Operator::kFoldable, 0, 0, 0, 0, 0, 1) \ | 104 V(Dead, Operator::kFoldable, 0, 0, 0, 0, 0, 1) \ |
105 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 105 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
106 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 106 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
107 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 107 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
108 V(IfException, Operator::kKontrol, 0, 0, 1, 1, 0, 1) \ | 108 V(IfException, Operator::kKontrol, 0, 0, 1, 1, 0, 1) \ |
109 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ | 109 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
110 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \ | 110 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \ |
111 V(Deoptimize, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ | 111 V(Deoptimize, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ |
112 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ | 112 V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ |
113 V(Terminate, Operator::kNoThrow, 0, 1, 1, 0, 0, 1) \ | 113 V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \ |
114 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ | 114 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ |
115 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) | 115 V(OsrLoopEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) |
116 | 116 |
117 | 117 |
118 #define CACHED_END_LIST(V) \ | 118 #define CACHED_END_LIST(V) \ |
119 V(1) \ | 119 V(1) \ |
120 V(2) \ | 120 V(2) \ |
121 V(3) \ | 121 V(3) \ |
122 V(4) \ | 122 V(4) \ |
123 V(5) \ | 123 V(5) \ |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 } else { | 732 } else { |
733 UNREACHABLE(); | 733 UNREACHABLE(); |
734 return nullptr; | 734 return nullptr; |
735 } | 735 } |
736 } | 736 } |
737 | 737 |
738 | 738 |
739 } // namespace compiler | 739 } // namespace compiler |
740 } // namespace internal | 740 } // namespace internal |
741 } // namespace v8 | 741 } // namespace v8 |
OLD | NEW |