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/ia32/linkage-ia32.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/common-operator.h ('k') | src/compiler/js-generic-lowering.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 17 matching lines...) Expand all
28 static int CRegisterParametersLength() { return 0; } 28 static int CRegisterParametersLength() { return 0; }
29 }; 29 };
30 30
31 31
32 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { 32 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) {
33 return LinkageHelper::GetJSCallDescriptor<LinkageHelperTraits>( 33 return LinkageHelper::GetJSCallDescriptor<LinkageHelperTraits>(
34 zone, parameter_count); 34 zone, parameter_count);
35 } 35 }
36 36
37 37
38 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function, 38 CallDescriptor* Linkage::GetRuntimeCallDescriptor(
39 int parameter_count, 39 Runtime::FunctionId function, int parameter_count,
40 Operator::Property properties, 40 Operator::Properties properties, Zone* zone) {
41 Zone* zone) {
42 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( 41 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>(
43 zone, function, parameter_count, properties); 42 zone, function, parameter_count, properties);
44 } 43 }
45 44
46 45
47 CallDescriptor* Linkage::GetStubCallDescriptor( 46 CallDescriptor* Linkage::GetStubCallDescriptor(
48 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, 47 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count,
49 CallDescriptor::Flags flags, Zone* zone) { 48 CallDescriptor::Flags flags, Zone* zone) {
50 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( 49 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>(
51 zone, descriptor, stack_parameter_count, flags); 50 zone, descriptor, stack_parameter_count, flags);
52 } 51 }
53 52
54 53
55 CallDescriptor* Linkage::GetSimplifiedCDescriptor( 54 CallDescriptor* Linkage::GetSimplifiedCDescriptor(
56 Zone* zone, int num_params, MachineType return_type, 55 Zone* zone, int num_params, MachineType return_type,
57 const MachineType* param_types) { 56 const MachineType* param_types) {
58 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( 57 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>(
59 zone, num_params, return_type, param_types); 58 zone, num_params, return_type, param_types);
60 } 59 }
61 60
62 } // namespace compiler 61 } // namespace compiler
63 } // namespace internal 62 } // namespace internal
64 } // namespace v8 63 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/common-operator.h ('k') | src/compiler/js-generic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698