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

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

Issue 2827243005: Revert of [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Created 3 years, 8 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/arm/code-stubs-arm.cc ('k') | src/arm/simulator-arm.h » ('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/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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 const Register MathPowIntegerDescriptor::exponent() { 57 const Register MathPowIntegerDescriptor::exponent() {
58 return MathPowTaggedDescriptor::exponent(); 58 return MathPowTaggedDescriptor::exponent();
59 } 59 }
60 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; }
61 66
62 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } 67 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; }
63 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } 68 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; }
64 69
65 70
66 void FastNewClosureDescriptor::InitializePlatformSpecific( 71 void FastNewClosureDescriptor::InitializePlatformSpecific(
67 CallInterfaceDescriptorData* data) { 72 CallInterfaceDescriptorData* data) {
68 Register registers[] = {r1, r2, r3}; 73 Register registers[] = {r1, r2, r3};
69 data->InitializePlatformSpecific(arraysize(registers), registers); 74 data->InitializePlatformSpecific(arraysize(registers), registers);
70 } 75 }
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 Register registers[] = { 383 Register registers[] = {
379 r1, // loaded new FP 384 r1, // loaded new FP
380 }; 385 };
381 data->InitializePlatformSpecific(arraysize(registers), registers); 386 data->InitializePlatformSpecific(arraysize(registers), registers);
382 } 387 }
383 388
384 } // namespace internal 389 } // namespace internal
385 } // namespace v8 390 } // namespace v8
386 391
387 #endif // V8_TARGET_ARCH_ARM 392 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/simulator-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698