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_IMPL_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ |
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ | 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ |
7 | 7 |
8 #include "src/compiler/generic-node-inl.h" | 8 #include "src/compiler/generic-node-inl.h" |
9 #include "src/compiler/instruction.h" | 9 #include "src/compiler/instruction.h" |
10 #include "src/compiler/instruction-selector.h" | 10 #include "src/compiler/instruction-selector.h" |
11 #include "src/compiler/linkage.h" | 11 #include "src/compiler/linkage.h" |
| 12 #include "src/macro-assembler.h" |
12 | 13 |
13 namespace v8 { | 14 namespace v8 { |
14 namespace internal { | 15 namespace internal { |
15 namespace compiler { | 16 namespace compiler { |
16 | 17 |
17 // A helper class for the instruction selector that simplifies construction of | 18 // A helper class for the instruction selector that simplifies construction of |
18 // Operands. This class implements a base for architecture-specific helpers. | 19 // Operands. This class implements a base for architecture-specific helpers. |
19 class OperandGenerator { | 20 class OperandGenerator { |
20 public: | 21 public: |
21 explicit OperandGenerator(InstructionSelector* selector) | 22 explicit OperandGenerator(InstructionSelector* selector) |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 : (frame_state_descriptor->GetTotalSize() + | 362 : (frame_state_descriptor->GetTotalSize() + |
362 1); // Include deopt id. | 363 1); // Include deopt id. |
363 } | 364 } |
364 }; | 365 }; |
365 | 366 |
366 } // namespace compiler | 367 } // namespace compiler |
367 } // namespace internal | 368 } // namespace internal |
368 } // namespace v8 | 369 } // namespace v8 |
369 | 370 |
370 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ | 371 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ |
OLD | NEW |