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

Side by Side Diff: src/ia32/code-stubs-ia32.cc

Issue 7113012: Call a stub for the write barrier on ARM. This is a step (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 6 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/ia32/code-stubs-ia32.h ('k') | src/ia32/macro-assembler-ia32.h » ('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 6300 matching lines...) Expand 10 before | Expand all | Expand 10 after
6311 argument_count); 6311 argument_count);
6312 regs_.RestoreCallerSaveRegisters(masm, save_fp_regs_mode_); 6312 regs_.RestoreCallerSaveRegisters(masm, save_fp_regs_mode_);
6313 } 6313 }
6314 6314
6315 6315
6316 void RecordWriteStub::CheckNeedsToInformIncrementalMarker( 6316 void RecordWriteStub::CheckNeedsToInformIncrementalMarker(
6317 MacroAssembler* masm, 6317 MacroAssembler* masm,
6318 RecordWriteStub::OnNoNeedToInformIncrementalMarker on_no_need) { 6318 RecordWriteStub::OnNoNeedToInformIncrementalMarker on_no_need) {
6319 Label object_is_black, need_incremental; 6319 Label object_is_black, need_incremental;
6320 6320
6321 // Let's look at the colour of the object: If it is not black we don't have 6321 // Let's look at the color of the object: If it is not black we don't have
6322 // to inform the incremental marker. 6322 // to inform the incremental marker.
6323 __ IsBlack(regs_.object(), 6323 __ IsBlack(regs_.object(),
6324 regs_.scratch0(), 6324 regs_.scratch0(),
6325 regs_.scratch1(), 6325 regs_.scratch1(),
6326 &object_is_black, 6326 &object_is_black,
6327 Label::kNear); 6327 Label::kNear);
6328 6328
6329 regs_.Restore(masm); 6329 regs_.Restore(masm);
6330 if (on_no_need == kRememberedSetOnNoNeedToInformIncrementalMarker) { 6330 if (on_no_need == kRememberedSetOnNoNeedToInformIncrementalMarker) {
6331 __ RememberedSetHelper( 6331 __ RememberedSetHelper(
(...skipping 30 matching lines...) Expand all
6362 6362
6363 // Fall through when we need to inform the incremental marker. 6363 // Fall through when we need to inform the incremental marker.
6364 } 6364 }
6365 6365
6366 6366
6367 #undef __ 6367 #undef __
6368 6368
6369 } } // namespace v8::internal 6369 } } // namespace v8::internal
6370 6370
6371 #endif // V8_TARGET_ARCH_IA32 6371 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.h ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698