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

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

Issue 1347913003: [stubs] Refactor StringCompareStub and use it for HStringCompareAndBranch. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/lithium-codegen-arm.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/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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 46
47 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r2; } 47 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r2; }
48 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r0; } 48 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r0; }
49 49
50 50
51 const Register InstanceOfDescriptor::LeftRegister() { return r1; } 51 const Register InstanceOfDescriptor::LeftRegister() { return r1; }
52 const Register InstanceOfDescriptor::RightRegister() { return r0; } 52 const Register InstanceOfDescriptor::RightRegister() { return r0; }
53 53
54 54
55 const Register StringCompareDescriptor::LeftRegister() { return r1; }
56 const Register StringCompareDescriptor::RightRegister() { return r0; }
57
58
55 const Register ArgumentsAccessReadDescriptor::index() { return r1; } 59 const Register ArgumentsAccessReadDescriptor::index() { return r1; }
56 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r0; } 60 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r0; }
57 61
58 62
59 const Register ApiGetterDescriptor::function_address() { return r2; } 63 const Register ApiGetterDescriptor::function_address() { return r2; }
60 64
61 65
62 const Register MathPowTaggedDescriptor::exponent() { return r2; } 66 const Register MathPowTaggedDescriptor::exponent() { return r2; }
63 67
64 68
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 r2, // address of first argument 419 r2, // address of first argument
416 r1 // the target callable to be call 420 r1 // the target callable to be call
417 }; 421 };
418 data->InitializePlatformSpecific(arraysize(registers), registers); 422 data->InitializePlatformSpecific(arraysize(registers), registers);
419 } 423 }
420 424
421 } // namespace internal 425 } // namespace internal
422 } // namespace v8 426 } // namespace v8
423 427
424 #endif // V8_TARGET_ARCH_ARM 428 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698