OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |