OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 3390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3401 ASSERT(kind() == Code::LOAD_IC); | 3401 ASSERT(kind() == Code::LOAD_IC); |
3402 // ----------- S t a t e ------------- | 3402 // ----------- S t a t e ------------- |
3403 // -- a2 : name | 3403 // -- a2 : name |
3404 // -- ra : return address | 3404 // -- ra : return address |
3405 // -- a0 : receiver | 3405 // -- a0 : receiver |
3406 // -- sp[0] : receiver | 3406 // -- sp[0] : receiver |
3407 // ----------------------------------- | 3407 // ----------------------------------- |
3408 receiver = a0; | 3408 receiver = a0; |
3409 } | 3409 } |
3410 | 3410 |
3411 StubCompiler::GenerateLoadStringLength(masm, receiver, a3, t0, &miss, | 3411 StubCompiler::GenerateLoadStringLength(masm, receiver, a3, t0, &miss); |
3412 support_wrapper_); | |
3413 | 3412 |
3414 __ bind(&miss); | 3413 __ bind(&miss); |
3415 StubCompiler::TailCallBuiltin( | 3414 StubCompiler::TailCallBuiltin( |
3416 masm, BaseLoadStoreStubCompiler::MissBuiltin(kind())); | 3415 masm, BaseLoadStoreStubCompiler::MissBuiltin(kind())); |
3417 } | 3416 } |
3418 | 3417 |
3419 | 3418 |
3420 void StoreArrayLengthStub::Generate(MacroAssembler* masm) { | 3419 void StoreArrayLengthStub::Generate(MacroAssembler* masm) { |
3421 // This accepts as a receiver anything JSArray::SetElementsLength accepts | 3420 // This accepts as a receiver anything JSArray::SetElementsLength accepts |
3422 // (currently anything except for external arrays which means anything with | 3421 // (currently anything except for external arrays which means anything with |
(...skipping 3858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7281 __ bind(&fast_elements_case); | 7280 __ bind(&fast_elements_case); |
7282 GenerateCase(masm, FAST_ELEMENTS); | 7281 GenerateCase(masm, FAST_ELEMENTS); |
7283 } | 7282 } |
7284 | 7283 |
7285 | 7284 |
7286 #undef __ | 7285 #undef __ |
7287 | 7286 |
7288 } } // namespace v8::internal | 7287 } } // namespace v8::internal |
7289 | 7288 |
7290 #endif // V8_TARGET_ARCH_MIPS | 7289 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |