| 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_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_H_ |
| 6 #define V8_COMPILER_INSTRUCTION_H_ | 6 #define V8_COMPILER_INSTRUCTION_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 // TODO(titzer): don't include the assembler? | |
| 13 #include "src/assembler.h" | |
| 14 #include "src/compiler/common-operator.h" | 12 #include "src/compiler/common-operator.h" |
| 15 #include "src/compiler/frame.h" | 13 #include "src/compiler/frame.h" |
| 16 #include "src/compiler/graph.h" | 14 #include "src/compiler/graph.h" |
| 17 #include "src/compiler/instruction-codes.h" | 15 #include "src/compiler/instruction-codes.h" |
| 18 #include "src/compiler/opcodes.h" | 16 #include "src/compiler/opcodes.h" |
| 19 #include "src/compiler/schedule.h" | 17 #include "src/compiler/schedule.h" |
| 18 // TODO(titzer): don't include the macro-assembler? |
| 19 #include "src/macro-assembler.h" |
| 20 #include "src/zone-allocator.h" | 20 #include "src/zone-allocator.h" |
| 21 | 21 |
| 22 namespace v8 { | 22 namespace v8 { |
| 23 namespace internal { | 23 namespace internal { |
| 24 | 24 |
| 25 // Forward declarations. | 25 // Forward declarations. |
| 26 class OStream; | 26 class OStream; |
| 27 | 27 |
| 28 namespace compiler { | 28 namespace compiler { |
| 29 | 29 |
| (...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 DeoptimizationVector deoptimization_entries_; | 902 DeoptimizationVector deoptimization_entries_; |
| 903 }; | 903 }; |
| 904 | 904 |
| 905 OStream& operator<<(OStream& os, const InstructionSequence& code); | 905 OStream& operator<<(OStream& os, const InstructionSequence& code); |
| 906 | 906 |
| 907 } // namespace compiler | 907 } // namespace compiler |
| 908 } // namespace internal | 908 } // namespace internal |
| 909 } // namespace v8 | 909 } // namespace v8 |
| 910 | 910 |
| 911 #endif // V8_COMPILER_INSTRUCTION_H_ | 911 #endif // V8_COMPILER_INSTRUCTION_H_ |
| OLD | NEW |