Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: src/arm/code-stubs-arm.h

Issue 7639015: ARM: Optimize stubs for incremental marking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Incorporated second review by Erik Corry. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 553
554 enum OnNoNeedToInformIncrementalMarker { 554 enum OnNoNeedToInformIncrementalMarker {
555 kReturnOnNoNeedToInformIncrementalMarker, 555 kReturnOnNoNeedToInformIncrementalMarker,
556 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker 556 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker
557 }; 557 };
558 558
559 void Generate(MacroAssembler* masm); 559 void Generate(MacroAssembler* masm);
560 void GenerateIncremental(MacroAssembler* masm, Mode mode); 560 void GenerateIncremental(MacroAssembler* masm, Mode mode);
561 void CheckNeedsToInformIncrementalMarker( 561 void CheckNeedsToInformIncrementalMarker(
562 MacroAssembler* masm, 562 MacroAssembler* masm,
563 OnNoNeedToInformIncrementalMarker on_no_need); 563 OnNoNeedToInformIncrementalMarker on_no_need,
564 Mode mode);
564 void InformIncrementalMarker(MacroAssembler* masm, Mode mode); 565 void InformIncrementalMarker(MacroAssembler* masm, Mode mode);
565 566
566 Major MajorKey() { return RecordWrite; } 567 Major MajorKey() { return RecordWrite; }
567 568
568 int MinorKey() { 569 int MinorKey() {
569 return ObjectBits::encode(object_.code()) | 570 return ObjectBits::encode(object_.code()) |
570 ValueBits::encode(value_.code()) | 571 ValueBits::encode(value_.code()) |
571 AddressBits::encode(address_.code()) | 572 AddressBits::encode(address_.code()) |
572 RememberedSetActionBits::encode(remembered_set_action_) | 573 RememberedSetActionBits::encode(remembered_set_action_) |
573 SaveFPRegsModeBits::encode(save_fp_regs_mode_); 574 SaveFPRegsModeBits::encode(save_fp_regs_mode_);
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 825
825 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 826 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
826 827
827 LookupMode mode_; 828 LookupMode mode_;
828 }; 829 };
829 830
830 831
831 } } // namespace v8::internal 832 } } // namespace v8::internal
832 833
833 #endif // V8_ARM_CODE_STUBS_ARM_H_ 834 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698