| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 if (candidate.is(r2)) continue; | 526 if (candidate.is(r2)) continue; |
| 527 if (candidate.is(r3)) continue; | 527 if (candidate.is(r3)) continue; |
| 528 return candidate; | 528 return candidate; |
| 529 } | 529 } |
| 530 UNREACHABLE(); | 530 UNREACHABLE(); |
| 531 return no_reg; | 531 return no_reg; |
| 532 } | 532 } |
| 533 friend class RecordWriteStub; | 533 friend class RecordWriteStub; |
| 534 }; | 534 }; |
| 535 | 535 |
| 536 enum OnNoNeedToInformIncrementalMarker { |
| 537 kReturnOnNoNeedToInformIncrementalMarker, |
| 538 kRememberedSetOnNoNeedToInformIncrementalMarker |
| 539 }; |
| 540 |
| 536 void Generate(MacroAssembler* masm); | 541 void Generate(MacroAssembler* masm); |
| 542 void GenerateIncremental(MacroAssembler* masm); |
| 543 void CheckNeedsToInformIncrementalMarker( |
| 544 MacroAssembler* masm, |
| 545 OnNoNeedToInformIncrementalMarker on_no_need); |
| 546 void InformIncrementalMarker(MacroAssembler* masm); |
| 537 | 547 |
| 538 Major MajorKey() { return RecordWrite; } | 548 Major MajorKey() { return RecordWrite; } |
| 539 | 549 |
| 540 int MinorKey() { | 550 int MinorKey() { |
| 541 return ObjectBits::encode(object_.code()) | | 551 return ObjectBits::encode(object_.code()) | |
| 542 ValueBits::encode(value_.code()) | | 552 ValueBits::encode(value_.code()) | |
| 543 AddressBits::encode(address_.code()) | | 553 AddressBits::encode(address_.code()) | |
| 544 RememberedSetActionBits::encode(remembered_set_action_) | | 554 RememberedSetActionBits::encode(remembered_set_action_) | |
| 545 SaveFPRegsModeBits::encode(save_fp_regs_mode_); | 555 SaveFPRegsModeBits::encode(save_fp_regs_mode_); |
| 546 } | 556 } |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 | 807 |
| 798 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 808 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
| 799 | 809 |
| 800 LookupMode mode_; | 810 LookupMode mode_; |
| 801 }; | 811 }; |
| 802 | 812 |
| 803 | 813 |
| 804 } } // namespace v8::internal | 814 } } // namespace v8::internal |
| 805 | 815 |
| 806 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 816 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
| OLD | NEW |