| 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/instruction-selector.h" | 5 #include "src/compiler/instruction-selector.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "src/compiler/instruction-selector-impl.h" | 9 #include "src/compiler/instruction-selector-impl.h" |
| 10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
| (...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 | 1196 |
| 1197 | 1197 |
| 1198 #if !V8_TURBOFAN_BACKEND | 1198 #if !V8_TURBOFAN_BACKEND |
| 1199 | 1199 |
| 1200 #define DECLARE_UNIMPLEMENTED_SELECTOR(x) \ | 1200 #define DECLARE_UNIMPLEMENTED_SELECTOR(x) \ |
| 1201 void InstructionSelector::Visit##x(Node* node) { UNIMPLEMENTED(); } | 1201 void InstructionSelector::Visit##x(Node* node) { UNIMPLEMENTED(); } |
| 1202 MACHINE_OP_LIST(DECLARE_UNIMPLEMENTED_SELECTOR) | 1202 MACHINE_OP_LIST(DECLARE_UNIMPLEMENTED_SELECTOR) |
| 1203 #undef DECLARE_UNIMPLEMENTED_SELECTOR | 1203 #undef DECLARE_UNIMPLEMENTED_SELECTOR |
| 1204 | 1204 |
| 1205 | 1205 |
| 1206 void InstructionSelector::VisitCall(Node* node) { UNIMPLEMENTED(); } | 1206 void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { |
| 1207 UNIMPLEMENTED(); |
| 1208 } |
| 1207 | 1209 |
| 1208 | 1210 |
| 1209 void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch, | 1211 void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch, |
| 1210 BasicBlock* fbranch) { | 1212 BasicBlock* fbranch) { |
| 1211 UNIMPLEMENTED(); | 1213 UNIMPLEMENTED(); |
| 1212 } | 1214 } |
| 1213 | 1215 |
| 1214 | 1216 |
| 1215 void InstructionSelector::VisitSwitch(Node* node, BasicBlock* default_branch, | 1217 void InstructionSelector::VisitSwitch(Node* node, BasicBlock* default_branch, |
| 1216 BasicBlock** case_branches, | 1218 BasicBlock** case_branches, |
| 1217 int32_t* case_values, size_t case_count, | 1219 int32_t* case_values, size_t case_count, |
| 1218 int32_t min_value, int32_t max_value) { | 1220 int32_t min_value, int32_t max_value) { |
| 1219 UNIMPLEMENTED(); | 1221 UNIMPLEMENTED(); |
| 1220 } | 1222 } |
| 1221 | 1223 |
| 1222 | 1224 |
| 1223 // static | 1225 // static |
| 1224 MachineOperatorBuilder::Flags | 1226 MachineOperatorBuilder::Flags |
| 1225 InstructionSelector::SupportedMachineOperatorFlags() { | 1227 InstructionSelector::SupportedMachineOperatorFlags() { |
| 1226 return MachineOperatorBuilder::Flag::kNoFlags; | 1228 return MachineOperatorBuilder::Flag::kNoFlags; |
| 1227 } | 1229 } |
| 1228 | 1230 |
| 1229 #endif // !V8_TURBOFAN_BACKEND | 1231 #endif // !V8_TURBOFAN_BACKEND |
| 1230 | 1232 |
| 1231 } // namespace compiler | 1233 } // namespace compiler |
| 1232 } // namespace internal | 1234 } // namespace internal |
| 1233 } // namespace v8 | 1235 } // namespace v8 |
| OLD | NEW |