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_RAW_MACHINE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
7 | 7 |
8 #ifdef USE_SIMULATOR | 8 #ifdef USE_SIMULATOR |
9 #define MACHINE_ASSEMBLER_SUPPORTS_CALL_C 0 | 9 #define MACHINE_ASSEMBLER_SUPPORTS_CALL_C 0 |
10 #else | 10 #else |
11 #define MACHINE_ASSEMBLER_SUPPORTS_CALL_C 1 | 11 #define MACHINE_ASSEMBLER_SUPPORTS_CALL_C 1 |
12 #endif | 12 #endif |
13 | 13 |
14 #include "src/v8.h" | 14 #include "src/v8.h" |
15 | 15 |
16 #include "src/compiler/common-operator.h" | 16 #include "src/compiler/common-operator.h" |
17 #include "src/compiler/graph-builder.h" | 17 #include "src/compiler/graph-builder.h" |
| 18 #include "src/compiler/linkage.h" |
18 #include "src/compiler/machine-operator.h" | 19 #include "src/compiler/machine-operator.h" |
19 #include "src/compiler/node.h" | 20 #include "src/compiler/node.h" |
20 #include "src/compiler/operator.h" | 21 #include "src/compiler/operator.h" |
21 | 22 |
22 | 23 |
23 namespace v8 { | 24 namespace v8 { |
24 namespace internal { | 25 namespace internal { |
25 namespace compiler { | 26 namespace compiler { |
26 | 27 |
27 class BasicBlock; | 28 class BasicBlock; |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 BasicBlock* current_block_; | 450 BasicBlock* current_block_; |
450 | 451 |
451 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 452 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
452 }; | 453 }; |
453 | 454 |
454 } // namespace compiler | 455 } // namespace compiler |
455 } // namespace internal | 456 } // namespace internal |
456 } // namespace v8 | 457 } // namespace v8 |
457 | 458 |
458 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 459 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |