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

Side by Side Diff: src/ia32/ic-ia32.cc

Issue 596011: Change GenerateLoadStringLength to have two scratch registers on all platform... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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/arm/stub-cache-arm.cc ('k') | src/ia32/stub-cache-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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void LoadIC::GenerateStringLength(MacroAssembler* masm) { 193 void LoadIC::GenerateStringLength(MacroAssembler* masm) {
194 // ----------- S t a t e ------------- 194 // ----------- S t a t e -------------
195 // -- ecx : name 195 // -- ecx : name
196 // -- esp[0] : return address 196 // -- esp[0] : return address
197 // -- esp[4] : receiver 197 // -- esp[4] : receiver
198 // ----------------------------------- 198 // -----------------------------------
199 Label miss; 199 Label miss;
200 200
201 __ mov(eax, Operand(esp, kPointerSize)); 201 __ mov(eax, Operand(esp, kPointerSize));
202 202
203 StubCompiler::GenerateLoadStringLength(masm, eax, edx, &miss); 203 StubCompiler::GenerateLoadStringLength(masm, eax, edx, ebx, &miss);
204 __ bind(&miss); 204 __ bind(&miss);
205 StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); 205 StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC);
206 } 206 }
207 207
208 208
209 void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) { 209 void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) {
210 // ----------- S t a t e ------------- 210 // ----------- S t a t e -------------
211 // -- ecx : name 211 // -- ecx : name
212 // -- esp[0] : return address 212 // -- esp[0] : return address
213 // -- esp[4] : receiver 213 // -- esp[4] : receiver
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 1482
1483 // Do tail-call to runtime routine. 1483 // Do tail-call to runtime routine.
1484 __ TailCallRuntime( 1484 __ TailCallRuntime(
1485 ExternalReference(IC_Utility(kSharedStoreIC_ExtendStorage)), 3, 1); 1485 ExternalReference(IC_Utility(kSharedStoreIC_ExtendStorage)), 3, 1);
1486 } 1486 }
1487 1487
1488 #undef __ 1488 #undef __
1489 1489
1490 1490
1491 } } // namespace v8::internal 1491 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/ia32/stub-cache-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698