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

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

Issue 526313002: [turbofan] First step of Operator refactoring. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/arm64/linkage-arm64.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/linkage-impl.h" 10 #include "src/compiler/linkage-impl.h"
(...skipping 21 matching lines...) Expand all
32 static int CRegisterParametersLength() { return 4; } 32 static int CRegisterParametersLength() { return 4; }
33 }; 33 };
34 34
35 35
36 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { 36 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) {
37 return LinkageHelper::GetJSCallDescriptor<LinkageHelperTraits>( 37 return LinkageHelper::GetJSCallDescriptor<LinkageHelperTraits>(
38 zone, parameter_count); 38 zone, parameter_count);
39 } 39 }
40 40
41 41
42 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function, 42 CallDescriptor* Linkage::GetRuntimeCallDescriptor(
43 int parameter_count, 43 Runtime::FunctionId function, int parameter_count,
44 Operator::Property properties, 44 Operator::Properties properties, Zone* zone) {
45 Zone* zone) {
46 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( 45 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>(
47 zone, function, parameter_count, properties); 46 zone, function, parameter_count, properties);
48 } 47 }
49 48
50 49
51 CallDescriptor* Linkage::GetStubCallDescriptor( 50 CallDescriptor* Linkage::GetStubCallDescriptor(
52 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, 51 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count,
53 CallDescriptor::Flags flags, Zone* zone) { 52 CallDescriptor::Flags flags, Zone* zone) {
54 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( 53 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>(
55 zone, descriptor, stack_parameter_count, flags); 54 zone, descriptor, stack_parameter_count, flags);
56 } 55 }
57 56
58 57
59 CallDescriptor* Linkage::GetSimplifiedCDescriptor( 58 CallDescriptor* Linkage::GetSimplifiedCDescriptor(
60 Zone* zone, int num_params, MachineType return_type, 59 Zone* zone, int num_params, MachineType return_type,
61 const MachineType* param_types) { 60 const MachineType* param_types) {
62 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( 61 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>(
63 zone, num_params, return_type, param_types); 62 zone, num_params, return_type, param_types);
64 } 63 }
65 } 64
66 } 65 } // namespace compiler
67 } // namespace v8::internal::compiler 66 } // namespace internal
67 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/arm64/linkage-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698