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

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

Issue 693103004: Revert "Skip the CallFunctionStub when the callee function can be statically determined." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | « no previous file | 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 17 matching lines...) Expand all
28 static Register CRegisterParameter(int i) { 28 static Register CRegisterParameter(int i) {
29 static Register register_parameters[] = {r0, r1, r2, r3}; 29 static Register register_parameters[] = {r0, r1, r2, r3};
30 return register_parameters[i]; 30 return register_parameters[i];
31 } 31 }
32 static int CRegisterParametersLength() { return 4; } 32 static int CRegisterParametersLength() { return 4; }
33 }; 33 };
34 34
35 35
36 typedef LinkageHelper<ArmLinkageHelperTraits> LH; 36 typedef LinkageHelper<ArmLinkageHelperTraits> LH;
37 37
38 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone, 38 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) {
39 CallDescriptor::Flags flags) { 39 return LH::GetJSCallDescriptor(zone, parameter_count);
40 return LH::GetJSCallDescriptor(zone, parameter_count, flags);
41 } 40 }
42 41
43 42
44 CallDescriptor* Linkage::GetRuntimeCallDescriptor( 43 CallDescriptor* Linkage::GetRuntimeCallDescriptor(
45 Runtime::FunctionId function, int parameter_count, 44 Runtime::FunctionId function, int parameter_count,
46 Operator::Properties properties, Zone* zone) { 45 Operator::Properties properties, Zone* zone) {
47 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, 46 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count,
48 properties); 47 properties);
49 } 48 }
50 49
51 50
52 CallDescriptor* Linkage::GetStubCallDescriptor( 51 CallDescriptor* Linkage::GetStubCallDescriptor(
53 const CallInterfaceDescriptor& descriptor, int stack_parameter_count, 52 const CallInterfaceDescriptor& descriptor, int stack_parameter_count,
54 CallDescriptor::Flags flags, Zone* zone) { 53 CallDescriptor::Flags flags, Zone* zone) {
55 return LH::GetStubCallDescriptor(zone, descriptor, stack_parameter_count, 54 return LH::GetStubCallDescriptor(zone, descriptor, stack_parameter_count,
56 flags); 55 flags);
57 } 56 }
58 57
59 58
60 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 59 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
61 MachineSignature* sig) { 60 MachineSignature* sig) {
62 return LH::GetSimplifiedCDescriptor(zone, sig); 61 return LH::GetSimplifiedCDescriptor(zone, sig);
63 } 62 }
64 63
65 } // namespace compiler 64 } // namespace compiler
66 } // namespace internal 65 } // namespace internal
67 } // namespace v8 66 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/linkage-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698