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

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

Issue 2082263002: [turbofan]: Support using push instructions for setting up tail call parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comments Created 4 years, 5 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/ia32/code-generator-ia32.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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 kCallTail = 1u << 2 242 kCallTail = 1u << 2
243 }; 243 };
244 typedef base::Flags<CallBufferFlag> CallBufferFlags; 244 typedef base::Flags<CallBufferFlag> CallBufferFlags;
245 245
246 // Initialize the call buffer with the InstructionOperands, nodes, etc, 246 // Initialize the call buffer with the InstructionOperands, nodes, etc,
247 // corresponding 247 // corresponding
248 // to the inputs and outputs of the call. 248 // to the inputs and outputs of the call.
249 // {call_code_immediate} to generate immediate operands to calls of code. 249 // {call_code_immediate} to generate immediate operands to calls of code.
250 // {call_address_immediate} to generate immediate operands to address calls. 250 // {call_address_immediate} to generate immediate operands to address calls.
251 void InitializeCallBuffer(Node* call, CallBuffer* buffer, 251 void InitializeCallBuffer(Node* call, CallBuffer* buffer,
252 CallBufferFlags flags, int stack_param_delta = 0); 252 CallBufferFlags flags, int stack_slot_delta = 0);
253 bool IsTailCallAddressImmediate(); 253 bool IsTailCallAddressImmediate();
254 int GetTempsCountForTailCallFromJSFunction(); 254 int GetTempsCountForTailCallFromJSFunction();
255 255
256 FrameStateDescriptor* GetFrameStateDescriptor(Node* node); 256 FrameStateDescriptor* GetFrameStateDescriptor(Node* node);
257 257
258 // =========================================================================== 258 // ===========================================================================
259 // ============= Architecture-specific graph covering methods. =============== 259 // ============= Architecture-specific graph covering methods. ===============
260 // =========================================================================== 260 // ===========================================================================
261 261
262 // Visit nodes in the given block and generate code. 262 // Visit nodes in the given block and generate code.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 IntVector virtual_registers_; 326 IntVector virtual_registers_;
327 InstructionScheduler* scheduler_; 327 InstructionScheduler* scheduler_;
328 Frame* frame_; 328 Frame* frame_;
329 }; 329 };
330 330
331 } // namespace compiler 331 } // namespace compiler
332 } // namespace internal 332 } // namespace internal
333 } // namespace v8 333 } // namespace v8
334 334
335 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 335 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698