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

Side by Side Diff: src/x64/code-stubs-x64.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/serialize.cc ('k') | src/x64/code-stubs-x64.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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 kReturnOnNoNeedToInformIncrementalMarker, 394 kReturnOnNoNeedToInformIncrementalMarker,
395 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker 395 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker
396 }; 396 };
397 397
398 void Generate(MacroAssembler* masm); 398 void Generate(MacroAssembler* masm);
399 void GenerateIncremental(MacroAssembler* masm, Mode mode); 399 void GenerateIncremental(MacroAssembler* masm, Mode mode);
400 void CheckNeedsToInformIncrementalMarker( 400 void CheckNeedsToInformIncrementalMarker(
401 MacroAssembler* masm, 401 MacroAssembler* masm,
402 OnNoNeedToInformIncrementalMarker on_no_need, 402 OnNoNeedToInformIncrementalMarker on_no_need,
403 Mode mode); 403 Mode mode);
404 void InformIncrementalMarker(MacroAssembler* masm, Mode mode); 404 void InformIncrementalMarker(MacroAssembler* masm);
405 405
406 Major MajorKey() { return RecordWrite; } 406 Major MajorKey() { return RecordWrite; }
407 407
408 int MinorKey() { 408 int MinorKey() {
409 return ObjectBits::encode(object_.code()) | 409 return ObjectBits::encode(object_.code()) |
410 ValueBits::encode(value_.code()) | 410 ValueBits::encode(value_.code()) |
411 AddressBits::encode(address_.code()) | 411 AddressBits::encode(address_.code()) |
412 RememberedSetActionBits::encode(remembered_set_action_) | 412 RememberedSetActionBits::encode(remembered_set_action_) |
413 SaveFPRegsModeBits::encode(save_fp_regs_mode_); 413 SaveFPRegsModeBits::encode(save_fp_regs_mode_);
414 } 414 }
(...skipping 14 matching lines...) Expand all
429 RememberedSetAction remembered_set_action_; 429 RememberedSetAction remembered_set_action_;
430 SaveFPRegsMode save_fp_regs_mode_; 430 SaveFPRegsMode save_fp_regs_mode_;
431 Label slow_; 431 Label slow_;
432 RegisterAllocation regs_; 432 RegisterAllocation regs_;
433 }; 433 };
434 434
435 435
436 } } // namespace v8::internal 436 } } // namespace v8::internal
437 437
438 #endif // V8_X64_CODE_STUBS_X64_H_ 438 #endif // V8_X64_CODE_STUBS_X64_H_
OLDNEW
« no previous file with comments | « src/serialize.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698