OLD | NEW |
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 #if V8_TARGET_ARCH_PPC | 5 #if V8_TARGET_ARCH_PPC |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 const Register StoreTransitionDescriptor::MapRegister() { return r8; } | 45 const Register StoreTransitionDescriptor::MapRegister() { return r8; } |
46 | 46 |
47 const Register StringCompareDescriptor::LeftRegister() { return r4; } | 47 const Register StringCompareDescriptor::LeftRegister() { return r4; } |
48 const Register StringCompareDescriptor::RightRegister() { return r3; } | 48 const Register StringCompareDescriptor::RightRegister() { return r3; } |
49 | 49 |
50 const Register ApiGetterDescriptor::HolderRegister() { return r3; } | 50 const Register ApiGetterDescriptor::HolderRegister() { return r3; } |
51 const Register ApiGetterDescriptor::CallbackRegister() { return r6; } | 51 const Register ApiGetterDescriptor::CallbackRegister() { return r6; } |
52 | 52 |
53 const Register MathPowTaggedDescriptor::exponent() { return r5; } | 53 const Register MathPowTaggedDescriptor::exponent() { return r5; } |
54 | 54 |
55 | |
56 const Register MathPowIntegerDescriptor::exponent() { | 55 const Register MathPowIntegerDescriptor::exponent() { |
57 return MathPowTaggedDescriptor::exponent(); | 56 return MathPowTaggedDescriptor::exponent(); |
58 } | 57 } |
59 | 58 |
| 59 const Register RegExpExecDescriptor::StringRegister() { return r3; } |
| 60 const Register RegExpExecDescriptor::LastIndexRegister() { return r4; } |
| 61 const Register RegExpExecDescriptor::StringStartRegister() { return r5; } |
| 62 const Register RegExpExecDescriptor::StringEndRegister() { return r6; } |
| 63 const Register RegExpExecDescriptor::CodeRegister() { return r17; } |
60 | 64 |
61 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } | 65 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } |
62 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } | 66 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } |
63 | 67 |
64 void FastNewClosureDescriptor::InitializePlatformSpecific( | 68 void FastNewClosureDescriptor::InitializePlatformSpecific( |
65 CallInterfaceDescriptorData* data) { | 69 CallInterfaceDescriptorData* data) { |
66 Register registers[] = {r4, r5, r6}; | 70 Register registers[] = {r4, r5, r6}; |
67 data->InitializePlatformSpecific(arraysize(registers), registers); | 71 data->InitializePlatformSpecific(arraysize(registers), registers); |
68 } | 72 } |
69 | 73 |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 Register registers[] = { | 401 Register registers[] = { |
398 r4, // loaded new FP | 402 r4, // loaded new FP |
399 }; | 403 }; |
400 data->InitializePlatformSpecific(arraysize(registers), registers); | 404 data->InitializePlatformSpecific(arraysize(registers), registers); |
401 } | 405 } |
402 | 406 |
403 } // namespace internal | 407 } // namespace internal |
404 } // namespace v8 | 408 } // namespace v8 |
405 | 409 |
406 #endif // V8_TARGET_ARCH_PPC | 410 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |