| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |