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

Side by Side Diff: src/arm/ic-arm.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 | « no previous file | src/arm/stub-cache-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 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 void LoadIC::GenerateStringLength(MacroAssembler* masm) { 183 void LoadIC::GenerateStringLength(MacroAssembler* masm) {
184 // ----------- S t a t e ------------- 184 // ----------- S t a t e -------------
185 // -- r2 : name 185 // -- r2 : name
186 // -- lr : return address 186 // -- lr : return address
187 // -- [sp] : receiver 187 // -- [sp] : receiver
188 // ----------------------------------- 188 // -----------------------------------
189 Label miss; 189 Label miss;
190 190
191 __ ldr(r0, MemOperand(sp, 0)); 191 __ ldr(r0, MemOperand(sp, 0));
192 192
193 StubCompiler::GenerateLoadStringLength2(masm, r0, r1, r3, &miss); 193 StubCompiler::GenerateLoadStringLength(masm, r0, r1, r3, &miss);
194 // Cache miss: Jump to runtime. 194 // Cache miss: Jump to runtime.
195 __ bind(&miss); 195 __ bind(&miss);
196 StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); 196 StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC);
197 } 197 }
198 198
199 199
200 void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) { 200 void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) {
201 // ----------- S t a t e ------------- 201 // ----------- S t a t e -------------
202 // -- r2 : name 202 // -- r2 : name
203 // -- lr : return address 203 // -- lr : return address
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 855
856 // Perform tail call to the entry. 856 // Perform tail call to the entry.
857 __ TailCallRuntime(ExternalReference(IC_Utility(kStoreIC_Miss)), 3, 1); 857 __ TailCallRuntime(ExternalReference(IC_Utility(kStoreIC_Miss)), 3, 1);
858 } 858 }
859 859
860 860
861 #undef __ 861 #undef __
862 862
863 863
864 } } // namespace v8::internal 864 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/stub-cache-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698