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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |