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

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

Issue 1702423002: [turbofan] Further fixing ES6 tail call elimination in Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@tco-turbo
Patch Set: Addressing comments Created 4 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/instruction-scheduler.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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 typedef base::Flags<CallBufferFlag> CallBufferFlags; 217 typedef base::Flags<CallBufferFlag> CallBufferFlags;
218 218
219 // Initialize the call buffer with the InstructionOperands, nodes, etc, 219 // Initialize the call buffer with the InstructionOperands, nodes, etc,
220 // corresponding 220 // corresponding
221 // to the inputs and outputs of the call. 221 // to the inputs and outputs of the call.
222 // {call_code_immediate} to generate immediate operands to calls of code. 222 // {call_code_immediate} to generate immediate operands to calls of code.
223 // {call_address_immediate} to generate immediate operands to address calls. 223 // {call_address_immediate} to generate immediate operands to address calls.
224 void InitializeCallBuffer(Node* call, CallBuffer* buffer, 224 void InitializeCallBuffer(Node* call, CallBuffer* buffer,
225 CallBufferFlags flags, int stack_param_delta = 0); 225 CallBufferFlags flags, int stack_param_delta = 0);
226 bool IsTailCallAddressImmediate(); 226 bool IsTailCallAddressImmediate();
227 int GetTempsCountForTailCallFromJSFunction();
227 228
228 FrameStateDescriptor* GetFrameStateDescriptor(Node* node); 229 FrameStateDescriptor* GetFrameStateDescriptor(Node* node);
229 230
230 // =========================================================================== 231 // ===========================================================================
231 // ============= Architecture-specific graph covering methods. =============== 232 // ============= Architecture-specific graph covering methods. ===============
232 // =========================================================================== 233 // ===========================================================================
233 234
234 // Visit nodes in the given block and generate code. 235 // Visit nodes in the given block and generate code.
235 void VisitBlock(BasicBlock* block); 236 void VisitBlock(BasicBlock* block);
236 237
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 IntVector virtual_registers_; 293 IntVector virtual_registers_;
293 InstructionScheduler* scheduler_; 294 InstructionScheduler* scheduler_;
294 Frame* frame_; 295 Frame* frame_;
295 }; 296 };
296 297
297 } // namespace compiler 298 } // namespace compiler
298 } // namespace internal 299 } // namespace internal
299 } // namespace v8 300 } // namespace v8
300 301
301 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 302 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-scheduler.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698