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 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
11 #include "src/compiler/instruction.h" | 11 #include "src/compiler/instruction.h" |
12 #include "src/compiler/machine-operator.h" | 12 #include "src/compiler/machine-operator.h" |
13 #include "src/zone-containers.h" | 13 #include "src/zone-containers.h" |
14 | 14 |
15 | |
16 #define UNSUPPORTED_OPERATOR(node) \ | |
Benedikt Meurer
2014/10/30 11:59:13
Please remove this macro and use UNREACHABLE() in
sigurds
2014/10/30 12:18:27
Done.
| |
17 V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d", \ | |
18 node->opcode(), node->op()->mnemonic(), node->id()); | |
19 | |
20 | |
15 namespace v8 { | 21 namespace v8 { |
16 namespace internal { | 22 namespace internal { |
17 namespace compiler { | 23 namespace compiler { |
18 | 24 |
19 // Forward declarations. | 25 // Forward declarations. |
20 struct CallBuffer; // TODO(bmeurer): Remove this. | 26 struct CallBuffer; // TODO(bmeurer): Remove this. |
21 class FlagsContinuation; | 27 class FlagsContinuation; |
22 class Linkage; | 28 class Linkage; |
23 | 29 |
24 typedef IntVector NodeToVregMap; | 30 typedef IntVector NodeToVregMap; |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
221 ZoneDeque<Instruction*> instructions_; | 227 ZoneDeque<Instruction*> instructions_; |
222 BoolVector defined_; | 228 BoolVector defined_; |
223 BoolVector used_; | 229 BoolVector used_; |
224 }; | 230 }; |
225 | 231 |
226 } // namespace compiler | 232 } // namespace compiler |
227 } // namespace internal | 233 } // namespace internal |
228 } // namespace v8 | 234 } // namespace v8 |
229 | 235 |
230 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 236 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |