OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |