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

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

Issue 1015423002: [turbofan] Remember types for deoptimization during simplified lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address review comments Created 5 years, 9 months 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/common-operator.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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // to the inputs and outputs of the call. 166 // to the inputs and outputs of the call.
167 // {call_code_immediate} to generate immediate operands to calls of code. 167 // {call_code_immediate} to generate immediate operands to calls of code.
168 // {call_address_immediate} to generate immediate operands to address calls. 168 // {call_address_immediate} to generate immediate operands to address calls.
169 void InitializeCallBuffer(Node* call, CallBuffer* buffer, 169 void InitializeCallBuffer(Node* call, CallBuffer* buffer,
170 bool call_code_immediate, 170 bool call_code_immediate,
171 bool call_address_immediate); 171 bool call_address_immediate);
172 172
173 FrameStateDescriptor* GetFrameStateDescriptor(Node* node); 173 FrameStateDescriptor* GetFrameStateDescriptor(Node* node);
174 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, 174 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs,
175 FrameStateDescriptor* descriptor); 175 FrameStateDescriptor* descriptor);
176 MachineType GetMachineType(Node* node);
177 176
178 // =========================================================================== 177 // ===========================================================================
179 // ============= Architecture-specific graph covering methods. =============== 178 // ============= Architecture-specific graph covering methods. ===============
180 // =========================================================================== 179 // ===========================================================================
181 180
182 // Visit nodes in the given block and generate code. 181 // Visit nodes in the given block and generate code.
183 void VisitBlock(BasicBlock* block); 182 void VisitBlock(BasicBlock* block);
184 183
185 // Visit the node for the control flow at the end of the block, generating 184 // Visit the node for the control flow at the end of the block, generating
186 // code if necessary. 185 // code if necessary.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 BoolVector defined_; 229 BoolVector defined_;
231 BoolVector used_; 230 BoolVector used_;
232 IntVector virtual_registers_; 231 IntVector virtual_registers_;
233 }; 232 };
234 233
235 } // namespace compiler 234 } // namespace compiler
236 } // namespace internal 235 } // namespace internal
237 } // namespace v8 236 } // namespace v8
238 237
239 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 238 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/common-operator.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698