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

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

Issue 185233008: Consolidate RecordWriteFromCode and RecordWriteForEvacuationFromCode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | « src/incremental-marking.cc ('k') | src/mips/code-stubs-mips.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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 kReturnOnNoNeedToInformIncrementalMarker, 360 kReturnOnNoNeedToInformIncrementalMarker,
361 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker 361 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker
362 }; 362 };
363 363
364 void Generate(MacroAssembler* masm); 364 void Generate(MacroAssembler* masm);
365 void GenerateIncremental(MacroAssembler* masm, Mode mode); 365 void GenerateIncremental(MacroAssembler* masm, Mode mode);
366 void CheckNeedsToInformIncrementalMarker( 366 void CheckNeedsToInformIncrementalMarker(
367 MacroAssembler* masm, 367 MacroAssembler* masm,
368 OnNoNeedToInformIncrementalMarker on_no_need, 368 OnNoNeedToInformIncrementalMarker on_no_need,
369 Mode mode); 369 Mode mode);
370 void InformIncrementalMarker(MacroAssembler* masm, Mode mode); 370 void InformIncrementalMarker(MacroAssembler* masm);
371 371
372 Major MajorKey() { return RecordWrite; } 372 Major MajorKey() { return RecordWrite; }
373 373
374 int MinorKey() { 374 int MinorKey() {
375 return ObjectBits::encode(object_.code()) | 375 return ObjectBits::encode(object_.code()) |
376 ValueBits::encode(value_.code()) | 376 ValueBits::encode(value_.code()) |
377 AddressBits::encode(address_.code()) | 377 AddressBits::encode(address_.code()) |
378 RememberedSetActionBits::encode(remembered_set_action_) | 378 RememberedSetActionBits::encode(remembered_set_action_) |
379 SaveFPRegsModeBits::encode(save_fp_regs_mode_); 379 SaveFPRegsModeBits::encode(save_fp_regs_mode_);
380 } 380 }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 464
465 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 465 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
466 466
467 LookupMode mode_; 467 LookupMode mode_;
468 }; 468 };
469 469
470 470
471 } } // namespace v8::internal 471 } } // namespace v8::internal
472 472
473 #endif // V8_MIPS_CODE_STUBS_ARM_H_ 473 #endif // V8_MIPS_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « src/incremental-marking.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698