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

Side by Side Diff: src/ia32/code-stubs-ia32.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/assembler.cc ('k') | src/ia32/code-stubs-ia32.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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 kReturnOnNoNeedToInformIncrementalMarker, 421 kReturnOnNoNeedToInformIncrementalMarker,
422 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker 422 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker
423 } 423 }
424 ; 424 ;
425 void Generate(MacroAssembler* masm); 425 void Generate(MacroAssembler* masm);
426 void GenerateIncremental(MacroAssembler* masm, Mode mode); 426 void GenerateIncremental(MacroAssembler* masm, Mode mode);
427 void CheckNeedsToInformIncrementalMarker( 427 void CheckNeedsToInformIncrementalMarker(
428 MacroAssembler* masm, 428 MacroAssembler* masm,
429 OnNoNeedToInformIncrementalMarker on_no_need, 429 OnNoNeedToInformIncrementalMarker on_no_need,
430 Mode mode); 430 Mode mode);
431 void InformIncrementalMarker(MacroAssembler* masm, Mode mode); 431 void InformIncrementalMarker(MacroAssembler* masm);
432 432
433 Major MajorKey() { return RecordWrite; } 433 Major MajorKey() { return RecordWrite; }
434 434
435 int MinorKey() { 435 int MinorKey() {
436 return ObjectBits::encode(object_.code()) | 436 return ObjectBits::encode(object_.code()) |
437 ValueBits::encode(value_.code()) | 437 ValueBits::encode(value_.code()) |
438 AddressBits::encode(address_.code()) | 438 AddressBits::encode(address_.code()) |
439 RememberedSetActionBits::encode(remembered_set_action_) | 439 RememberedSetActionBits::encode(remembered_set_action_) |
440 SaveFPRegsModeBits::encode(save_fp_regs_mode_); 440 SaveFPRegsModeBits::encode(save_fp_regs_mode_);
441 } 441 }
(...skipping 13 matching lines...) Expand all
455 Register address_; 455 Register address_;
456 RememberedSetAction remembered_set_action_; 456 RememberedSetAction remembered_set_action_;
457 SaveFPRegsMode save_fp_regs_mode_; 457 SaveFPRegsMode save_fp_regs_mode_;
458 RegisterAllocation regs_; 458 RegisterAllocation regs_;
459 }; 459 };
460 460
461 461
462 } } // namespace v8::internal 462 } } // namespace v8::internal
463 463
464 #endif // V8_IA32_CODE_STUBS_IA32_H_ 464 #endif // V8_IA32_CODE_STUBS_IA32_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698