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 <map> | 8 #include <map> |
9 | 9 |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 InstructionOperand* outputs, size_t input_count, | 104 InstructionOperand* outputs, size_t input_count, |
105 InstructionOperand* inputs, size_t temp_count = 0, | 105 InstructionOperand* inputs, size_t temp_count = 0, |
106 InstructionOperand* temps = nullptr); | 106 InstructionOperand* temps = nullptr); |
107 Instruction* Emit(Instruction* instr); | 107 Instruction* Emit(Instruction* instr); |
108 | 108 |
109 // =========================================================================== | 109 // =========================================================================== |
110 // ===== Architecture-independent deoptimization exit emission methods. ====== | 110 // ===== Architecture-independent deoptimization exit emission methods. ====== |
111 // =========================================================================== | 111 // =========================================================================== |
112 | 112 |
113 Instruction* EmitDeoptimize(InstructionCode opcode, InstructionOperand output, | 113 Instruction* EmitDeoptimize(InstructionCode opcode, InstructionOperand output, |
| 114 InstructionOperand a, DeoptimizeReason reason, |
| 115 Node* frame_state); |
| 116 Instruction* EmitDeoptimize(InstructionCode opcode, InstructionOperand output, |
114 InstructionOperand a, InstructionOperand b, | 117 InstructionOperand a, InstructionOperand b, |
115 DeoptimizeReason reason, Node* frame_state); | 118 DeoptimizeReason reason, Node* frame_state); |
116 Instruction* EmitDeoptimize(InstructionCode opcode, size_t output_count, | 119 Instruction* EmitDeoptimize(InstructionCode opcode, size_t output_count, |
117 InstructionOperand* outputs, size_t input_count, | 120 InstructionOperand* outputs, size_t input_count, |
118 InstructionOperand* inputs, | 121 InstructionOperand* inputs, |
119 DeoptimizeReason reason, Node* frame_state); | 122 DeoptimizeReason reason, Node* frame_state); |
120 | 123 |
121 // =========================================================================== | 124 // =========================================================================== |
122 // ============== Architecture-independent CPU feature methods. ============== | 125 // ============== Architecture-independent CPU feature methods. ============== |
123 // =========================================================================== | 126 // =========================================================================== |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 EnableSerialization enable_serialization_; | 373 EnableSerialization enable_serialization_; |
371 Frame* frame_; | 374 Frame* frame_; |
372 bool instruction_selection_failed_; | 375 bool instruction_selection_failed_; |
373 }; | 376 }; |
374 | 377 |
375 } // namespace compiler | 378 } // namespace compiler |
376 } // namespace internal | 379 } // namespace internal |
377 } // namespace v8 | 380 } // namespace v8 |
378 | 381 |
379 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 382 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |