| 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 2505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2516 ExternalReference ref = | 2516 ExternalReference ref = |
| 2517 ExternalReference(IC_Utility(IC::kStoreIC_ArrayLength), masm->isolate()); | 2517 ExternalReference(IC_Utility(IC::kStoreIC_ArrayLength), masm->isolate()); |
| 2518 __ TailCallExternalReference(ref, 2, 1); | 2518 __ TailCallExternalReference(ref, 2, 1); |
| 2519 | 2519 |
| 2520 __ bind(&miss); | 2520 __ bind(&miss); |
| 2521 | 2521 |
| 2522 StubCompiler::GenerateStoreMiss(masm, kind()); | 2522 StubCompiler::GenerateStoreMiss(masm, kind()); |
| 2523 } | 2523 } |
| 2524 | 2524 |
| 2525 | 2525 |
| 2526 void LoadFieldStub::Generate(MacroAssembler* masm) { |
| 2527 StubCompiler::DoGenerateFastPropertyLoad(masm, rax, reg_, inobject_, index_); |
| 2528 __ ret(0); |
| 2529 } |
| 2530 |
| 2531 |
| 2526 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { | 2532 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { |
| 2527 // The key is in rdx and the parameter count is in rax. | 2533 // The key is in rdx and the parameter count is in rax. |
| 2528 | 2534 |
| 2529 // The displacement is used for skipping the frame pointer on the | 2535 // The displacement is used for skipping the frame pointer on the |
| 2530 // stack. It is the offset of the last parameter (if any) relative | 2536 // stack. It is the offset of the last parameter (if any) relative |
| 2531 // to the frame pointer. | 2537 // to the frame pointer. |
| 2532 static const int kDisplacement = 1 * kPointerSize; | 2538 static const int kDisplacement = 1 * kPointerSize; |
| 2533 | 2539 |
| 2534 // Check that the key is a smi. | 2540 // Check that the key is a smi. |
| 2535 Label slow; | 2541 Label slow; |
| (...skipping 4336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6872 #endif | 6878 #endif |
| 6873 | 6879 |
| 6874 __ Ret(); | 6880 __ Ret(); |
| 6875 } | 6881 } |
| 6876 | 6882 |
| 6877 #undef __ | 6883 #undef __ |
| 6878 | 6884 |
| 6879 } } // namespace v8::internal | 6885 } } // namespace v8::internal |
| 6880 | 6886 |
| 6881 #endif // V8_TARGET_ARCH_X64 | 6887 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |