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

Side by Side Diff: src/mips/interface-descriptors-mips.cc

Issue 1250563004: HydrogenCodeStubs consume stack arguments via descriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 5 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/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 const Register MathPowIntegerDescriptor::exponent() { 64 const Register MathPowIntegerDescriptor::exponent() {
65 return MathPowTaggedDescriptor::exponent(); 65 return MathPowTaggedDescriptor::exponent();
66 } 66 }
67 67
68 68
69 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; } 69 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; }
70 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } 70 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; }
71 71
72 72
73 void StoreTransitionDescriptor::InitializePlatformSpecific(
74 CallInterfaceDescriptorData* data) {
75 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(),
76 MapRegister()};
77 data->InitializePlatformSpecific(arraysize(registers), registers);
78 }
79
80
73 void FastNewClosureDescriptor::InitializePlatformSpecific( 81 void FastNewClosureDescriptor::InitializePlatformSpecific(
74 CallInterfaceDescriptorData* data) { 82 CallInterfaceDescriptorData* data) {
75 Register registers[] = {a2}; 83 Register registers[] = {a2};
76 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 84 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
77 } 85 }
78 86
79 87
80 void FastNewContextDescriptor::InitializePlatformSpecific( 88 void FastNewContextDescriptor::InitializePlatformSpecific(
81 CallInterfaceDescriptorData* data) { 89 CallInterfaceDescriptorData* data) {
82 Register registers[] = {a1}; 90 Register registers[] = {a1};
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 a1, // math rounding function 362 a1, // math rounding function
355 a3, // vector slot id 363 a3, // vector slot id
356 a2, // type vector 364 a2, // type vector
357 }; 365 };
358 data->InitializePlatformSpecific(arraysize(registers), registers); 366 data->InitializePlatformSpecific(arraysize(registers), registers);
359 } 367 }
360 } // namespace internal 368 } // namespace internal
361 } // namespace v8 369 } // namespace v8
362 370
363 #endif // V8_TARGET_ARCH_MIPS 371 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698