| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 3835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3846 | 3846 |
| 3847 // Record the actual write. | 3847 // Record the actual write. |
| 3848 if (lr_status == kLRHasNotBeenSaved) { | 3848 if (lr_status == kLRHasNotBeenSaved) { |
| 3849 Push(lr); | 3849 Push(lr); |
| 3850 } | 3850 } |
| 3851 RecordWriteStub stub(object, value, address, remembered_set_action, fp_mode); | 3851 RecordWriteStub stub(object, value, address, remembered_set_action, fp_mode); |
| 3852 if (pregen_expectation == EXPECT_PREGENERATED) { | 3852 if (pregen_expectation == EXPECT_PREGENERATED) { |
| 3853 // If we expected a pregenerated stub, ensure that we get one. | 3853 // If we expected a pregenerated stub, ensure that we get one. |
| 3854 // A failure at this assertion probably indicates that the | 3854 // A failure at this assertion probably indicates that the |
| 3855 // RecordWriteStub::kAheadOfTime list needs to be updated. | 3855 // RecordWriteStub::kAheadOfTime list needs to be updated. |
| 3856 ASSERT(stub.IsPregenerated()); | 3856 ASSERT(stub.IsPregenerated(isolate())); |
| 3857 } | 3857 } |
| 3858 CallStub(&stub); | 3858 CallStub(&stub); |
| 3859 if (lr_status == kLRHasNotBeenSaved) { | 3859 if (lr_status == kLRHasNotBeenSaved) { |
| 3860 Pop(lr); | 3860 Pop(lr); |
| 3861 } | 3861 } |
| 3862 | 3862 |
| 3863 Bind(&done); | 3863 Bind(&done); |
| 3864 | 3864 |
| 3865 // Clobber clobbered registers when running with the debug-code flag | 3865 // Clobber clobbered registers when running with the debug-code flag |
| 3866 // turned on to provoke errors. | 3866 // turned on to provoke errors. |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4610 } | 4610 } |
| 4611 } | 4611 } |
| 4612 | 4612 |
| 4613 | 4613 |
| 4614 #undef __ | 4614 #undef __ |
| 4615 | 4615 |
| 4616 | 4616 |
| 4617 } } // namespace v8::internal | 4617 } } // namespace v8::internal |
| 4618 | 4618 |
| 4619 #endif // V8_TARGET_ARCH_A64 | 4619 #endif // V8_TARGET_ARCH_A64 |
| OLD | NEW |