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

Side by Side Diff: src/ia32/interface-descriptors-ia32.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/ia32/code-stubs-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.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 #if V8_TARGET_ARCH_IA32 5 #if V8_TARGET_ARCH_IA32
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 51
52 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } 52 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; }
53 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } 53 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; }
54 54
55 55
56 const Register InstanceOfDescriptor::LeftRegister() { return edx; } 56 const Register InstanceOfDescriptor::LeftRegister() { return edx; }
57 const Register InstanceOfDescriptor::RightRegister() { return eax; } 57 const Register InstanceOfDescriptor::RightRegister() { return eax; }
58 58
59 59
60 const Register StringCompareDescriptor::LeftRegister() { return edx; }
61 const Register StringCompareDescriptor::RightRegister() { return eax; }
62
63
60 const Register ArgumentsAccessReadDescriptor::index() { return edx; } 64 const Register ArgumentsAccessReadDescriptor::index() { return edx; }
61 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } 65 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; }
62 66
63 67
64 const Register ApiGetterDescriptor::function_address() { return edx; } 68 const Register ApiGetterDescriptor::function_address() { return edx; }
65 69
66 70
67 const Register MathPowTaggedDescriptor::exponent() { return eax; } 71 const Register MathPowTaggedDescriptor::exponent() { return eax; }
68 72
69 73
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 ebx, // address of first argument 402 ebx, // address of first argument
399 edi // the target callable to be call 403 edi // the target callable to be call
400 }; 404 };
401 data->InitializePlatformSpecific(arraysize(registers), registers); 405 data->InitializePlatformSpecific(arraysize(registers), registers);
402 } 406 }
403 407
404 } // namespace internal 408 } // namespace internal
405 } // namespace v8 409 } // namespace v8
406 410
407 #endif // V8_TARGET_ARCH_IA32 411 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698