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

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

Issue 892593002: [turbofan] Fix usage of ThisFunction parameter in OSR. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/linkage-impl.h ('k') | src/compiler/mips64/linkage-mips64.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[] = {a0, a1, a2, a3}; 29 static Register register_parameters[] = {a0, a1, a2, a3};
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<MipsLinkageHelperTraits> LH; 36 typedef LinkageHelper<MipsLinkageHelperTraits> LH;
37 37
38 CallDescriptor* Linkage::GetJSCallDescriptor(Zone* zone, int parameter_count, 38 CallDescriptor* Linkage::GetJSCallDescriptor(Zone* zone, bool is_osr,
39 int parameter_count,
39 CallDescriptor::Flags flags) { 40 CallDescriptor::Flags flags) {
40 return LH::GetJSCallDescriptor(zone, parameter_count, flags); 41 return LH::GetJSCallDescriptor(zone, is_osr, parameter_count, flags);
41 } 42 }
42 43
43 44
44 CallDescriptor* Linkage::GetRuntimeCallDescriptor( 45 CallDescriptor* Linkage::GetRuntimeCallDescriptor(
45 Zone* zone, Runtime::FunctionId function, int parameter_count, 46 Zone* zone, Runtime::FunctionId function, int parameter_count,
46 Operator::Properties properties) { 47 Operator::Properties properties) {
47 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, 48 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count,
48 properties); 49 properties);
49 } 50 }
50 51
51 52
52 CallDescriptor* Linkage::GetStubCallDescriptor( 53 CallDescriptor* Linkage::GetStubCallDescriptor(
53 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, 54 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor,
54 int stack_parameter_count, CallDescriptor::Flags flags, 55 int stack_parameter_count, CallDescriptor::Flags flags,
55 Operator::Properties properties) { 56 Operator::Properties properties) {
56 return LH::GetStubCallDescriptor(isolate, zone, descriptor, 57 return LH::GetStubCallDescriptor(isolate, zone, descriptor,
57 stack_parameter_count, flags, properties); 58 stack_parameter_count, flags, properties);
58 } 59 }
59 60
60 61
61 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 62 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
62 MachineSignature* sig) { 63 MachineSignature* sig) {
63 return LH::GetSimplifiedCDescriptor(zone, sig); 64 return LH::GetSimplifiedCDescriptor(zone, sig);
64 } 65 }
65 66
66 } // namespace compiler 67 } // namespace compiler
67 } // namespace internal 68 } // namespace internal
68 } // namespace v8 69 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/linkage-impl.h ('k') | src/compiler/mips64/linkage-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698