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

Side by Side Diff: src/ia32/code-stubs-ia32.cc

Issue 385073007: Revert "Use the same registers for StoreIC and KeyedStoreIC." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/ia32/ic-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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 void ToBooleanStub::InitializeInterfaceDescriptor( 218 void ToBooleanStub::InitializeInterfaceDescriptor(
219 CodeStubInterfaceDescriptor* descriptor) { 219 CodeStubInterfaceDescriptor* descriptor) {
220 Register registers[] = { eax }; 220 Register registers[] = { eax };
221 descriptor->Initialize(ARRAY_SIZE(registers), registers, 221 descriptor->Initialize(ARRAY_SIZE(registers), registers,
222 FUNCTION_ADDR(ToBooleanIC_Miss)); 222 FUNCTION_ADDR(ToBooleanIC_Miss));
223 descriptor->SetMissHandler( 223 descriptor->SetMissHandler(
224 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate())); 224 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate()));
225 } 225 }
226 226
227 227
228 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor(
229 CodeStubInterfaceDescriptor* descriptor) {
230 Register registers[] = { eax, ebx, ecx, edx };
231 descriptor->Initialize(ARRAY_SIZE(registers), registers,
232 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss));
233 }
234
235
228 void BinaryOpICStub::InitializeInterfaceDescriptor( 236 void BinaryOpICStub::InitializeInterfaceDescriptor(
229 CodeStubInterfaceDescriptor* descriptor) { 237 CodeStubInterfaceDescriptor* descriptor) {
230 Register registers[] = { edx, eax }; 238 Register registers[] = { edx, eax };
231 descriptor->Initialize(ARRAY_SIZE(registers), registers, 239 descriptor->Initialize(ARRAY_SIZE(registers), registers,
232 FUNCTION_ADDR(BinaryOpIC_Miss)); 240 FUNCTION_ADDR(BinaryOpIC_Miss));
233 descriptor->SetMissHandler( 241 descriptor->SetMissHandler(
234 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); 242 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate()));
235 } 243 }
236 244
237 245
(...skipping 4730 matching lines...) Expand 10 before | Expand all | Expand 10 after
4968 Operand(ebp, 7 * kPointerSize), 4976 Operand(ebp, 7 * kPointerSize),
4969 NULL); 4977 NULL);
4970 } 4978 }
4971 4979
4972 4980
4973 #undef __ 4981 #undef __
4974 4982
4975 } } // namespace v8::internal 4983 } } // namespace v8::internal
4976 4984
4977 #endif // V8_TARGET_ARCH_IA32 4985 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698