OLD | NEW |
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/arm/interface-descriptors-arm.h" | 5 #include "src/arm/interface-descriptors-arm.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 const Register StoreTransitionDescriptor::MapRegister() { return r5; } | 47 const Register StoreTransitionDescriptor::MapRegister() { return r5; } |
48 | 48 |
49 const Register StringCompareDescriptor::LeftRegister() { return r1; } | 49 const Register StringCompareDescriptor::LeftRegister() { return r1; } |
50 const Register StringCompareDescriptor::RightRegister() { return r0; } | 50 const Register StringCompareDescriptor::RightRegister() { return r0; } |
51 | 51 |
52 const Register ApiGetterDescriptor::HolderRegister() { return r0; } | 52 const Register ApiGetterDescriptor::HolderRegister() { return r0; } |
53 const Register ApiGetterDescriptor::CallbackRegister() { return r3; } | 53 const Register ApiGetterDescriptor::CallbackRegister() { return r3; } |
54 | 54 |
55 const Register MathPowTaggedDescriptor::exponent() { return r2; } | 55 const Register MathPowTaggedDescriptor::exponent() { return r2; } |
56 | 56 |
57 | |
58 const Register MathPowIntegerDescriptor::exponent() { | 57 const Register MathPowIntegerDescriptor::exponent() { |
59 return MathPowTaggedDescriptor::exponent(); | 58 return MathPowTaggedDescriptor::exponent(); |
60 } | 59 } |
61 | 60 |
| 61 const Register RegExpExecDescriptor::StringRegister() { return r0; } |
| 62 const Register RegExpExecDescriptor::LastIndexRegister() { return r1; } |
| 63 const Register RegExpExecDescriptor::StringStartRegister() { return r2; } |
| 64 const Register RegExpExecDescriptor::StringEndRegister() { return r3; } |
| 65 const Register RegExpExecDescriptor::CodeRegister() { return r4; } |
62 | 66 |
63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } | 67 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } |
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } | 68 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } |
65 | 69 |
66 | 70 |
67 void FastNewClosureDescriptor::InitializePlatformSpecific( | 71 void FastNewClosureDescriptor::InitializePlatformSpecific( |
68 CallInterfaceDescriptorData* data) { | 72 CallInterfaceDescriptorData* data) { |
69 Register registers[] = {r1, r2, r3}; | 73 Register registers[] = {r1, r2, r3}; |
70 data->InitializePlatformSpecific(arraysize(registers), registers); | 74 data->InitializePlatformSpecific(arraysize(registers), registers); |
71 } | 75 } |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 Register registers[] = { | 422 Register registers[] = { |
419 r1, // loaded new FP | 423 r1, // loaded new FP |
420 }; | 424 }; |
421 data->InitializePlatformSpecific(arraysize(registers), registers); | 425 data->InitializePlatformSpecific(arraysize(registers), registers); |
422 } | 426 } |
423 | 427 |
424 } // namespace internal | 428 } // namespace internal |
425 } // namespace v8 | 429 } // namespace v8 |
426 | 430 |
427 #endif // V8_TARGET_ARCH_ARM | 431 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |