Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: src/compiler/instruction-selector.h

Issue 2448113002: [arm64] Emit CBZ for deoptimisations. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698