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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 FixedArray::kHeaderSize - kHeapObjectTag)); | 347 FixedArray::kHeaderSize - kHeapObjectTag)); |
348 | 348 |
349 RecordWrite( | 349 RecordWrite( |
350 object, dst, value, save_fp, remembered_set_action, OMIT_SMI_CHECK); | 350 object, dst, value, save_fp, remembered_set_action, OMIT_SMI_CHECK); |
351 | 351 |
352 bind(&done); | 352 bind(&done); |
353 | 353 |
354 // Clobber clobbered input registers when running with the debug-code flag | 354 // Clobber clobbered input registers when running with the debug-code flag |
355 // turned on to provoke errors. | 355 // turned on to provoke errors. |
356 if (emit_debug_code()) { | 356 if (emit_debug_code()) { |
357 movq(value, Immediate(BitCast<int64_t>(kZapValue))); | 357 movq(value, BitCast<int64_t>(kZapValue), RelocInfo::NONE); |
358 movq(index, Immediate(BitCast<int64_t>(kZapValue))); | 358 movq(index, BitCast<int64_t>(kZapValue), RelocInfo::NONE); |
359 } | 359 } |
360 } | 360 } |
361 | 361 |
362 | 362 |
363 void MacroAssembler::RecordWrite(Register object, | 363 void MacroAssembler::RecordWrite(Register object, |
364 Register address, | 364 Register address, |
365 Register value, | 365 Register value, |
366 SaveFPRegsMode fp_mode, | 366 SaveFPRegsMode fp_mode, |
367 RememberedSetAction remembered_set_action, | 367 RememberedSetAction remembered_set_action, |
368 SmiCheck smi_check) { | 368 SmiCheck smi_check) { |
(...skipping 3939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4308 | 4308 |
4309 and_(bitmap_scratch, Immediate(~Page::kPageAlignmentMask)); | 4309 and_(bitmap_scratch, Immediate(~Page::kPageAlignmentMask)); |
4310 addl(Operand(bitmap_scratch, MemoryChunk::kLiveBytesOffset), length); | 4310 addl(Operand(bitmap_scratch, MemoryChunk::kLiveBytesOffset), length); |
4311 | 4311 |
4312 bind(&done); | 4312 bind(&done); |
4313 } | 4313 } |
4314 | 4314 |
4315 } } // namespace v8::internal | 4315 } } // namespace v8::internal |
4316 | 4316 |
4317 #endif // V8_TARGET_ARCH_X64 | 4317 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |