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

Side by Side Diff: src/compiler/c-linkage.cc

Issue 1269913002: [turbofan] Simplifying handling of callee-cleanup stack area. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/arm64/code-generator-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #include "src/assembler.h" 5 #include "src/assembler.h"
6 #include "src/macro-assembler.h" 6 #include "src/macro-assembler.h"
7 7
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 9
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 // The target for C calls is always an address (i.e. machine pointer). 227 // The target for C calls is always an address (i.e. machine pointer).
228 MachineType target_type = kMachPtr; 228 MachineType target_type = kMachPtr;
229 LinkageLocation target_loc = LinkageLocation::ForAnyRegister(); 229 LinkageLocation target_loc = LinkageLocation::ForAnyRegister();
230 return new (zone) CallDescriptor( // -- 230 return new (zone) CallDescriptor( // --
231 CallDescriptor::kCallAddress, // kind 231 CallDescriptor::kCallAddress, // kind
232 target_type, // target MachineType 232 target_type, // target MachineType
233 target_loc, // target location 233 target_loc, // target location
234 msig, // machine_sig 234 msig, // machine_sig
235 locations.Build(), // location_sig 235 locations.Build(), // location_sig
236 0, // js_parameter_count 236 0, // stack_parameter_count
237 Operator::kNoProperties, // properties 237 Operator::kNoProperties, // properties
238 kCalleeSaveRegisters, // callee-saved registers 238 kCalleeSaveRegisters, // callee-saved registers
239 kCalleeSaveFPRegisters, // callee-saved fp regs 239 kCalleeSaveFPRegisters, // callee-saved fp regs
240 CallDescriptor::kNoFlags, // flags 240 CallDescriptor::kNoFlags, // flags
241 "c-call"); 241 "c-call");
242 } 242 }
243 } 243 }
244 } 244 }
245 } 245 }
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698