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

Side by Side Diff: src/arm/code-stubs-arm.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/a64/code-stubs-a64.cc ('k') | 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 kReturnOnNoNeedToInformIncrementalMarker, 317 kReturnOnNoNeedToInformIncrementalMarker,
318 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker 318 kUpdateRememberedSetOnNoNeedToInformIncrementalMarker
319 }; 319 };
320 320
321 void Generate(MacroAssembler* masm); 321 void Generate(MacroAssembler* masm);
322 void GenerateIncremental(MacroAssembler* masm, Mode mode); 322 void GenerateIncremental(MacroAssembler* masm, Mode mode);
323 void CheckNeedsToInformIncrementalMarker( 323 void CheckNeedsToInformIncrementalMarker(
324 MacroAssembler* masm, 324 MacroAssembler* masm,
325 OnNoNeedToInformIncrementalMarker on_no_need, 325 OnNoNeedToInformIncrementalMarker on_no_need,
326 Mode mode); 326 Mode mode);
327 void InformIncrementalMarker(MacroAssembler* masm, Mode mode); 327 void InformIncrementalMarker(MacroAssembler* masm);
328 328
329 Major MajorKey() { return RecordWrite; } 329 Major MajorKey() { return RecordWrite; }
330 330
331 int MinorKey() { 331 int MinorKey() {
332 return ObjectBits::encode(object_.code()) | 332 return ObjectBits::encode(object_.code()) |
333 ValueBits::encode(value_.code()) | 333 ValueBits::encode(value_.code()) |
334 AddressBits::encode(address_.code()) | 334 AddressBits::encode(address_.code()) |
335 RememberedSetActionBits::encode(remembered_set_action_) | 335 RememberedSetActionBits::encode(remembered_set_action_) |
336 SaveFPRegsModeBits::encode(save_fp_regs_mode_); 336 SaveFPRegsModeBits::encode(save_fp_regs_mode_);
337 } 337 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 TargetAddressStorageMode storage_mode() { return storage_mode_; } 433 TargetAddressStorageMode storage_mode() { return storage_mode_; }
434 434
435 private: 435 private:
436 TargetAddressStorageMode storage_mode_; 436 TargetAddressStorageMode storage_mode_;
437 }; 437 };
438 438
439 439
440 } } // namespace v8::internal 440 } } // namespace v8::internal
441 441
442 #endif // V8_ARM_CODE_STUBS_ARM_H_ 442 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « src/a64/code-stubs-a64.cc ('k') | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698