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 6368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6379 | 6379 |
6380 __ CheckPageFlag(regs_.scratch0(), // Contains value. | 6380 __ CheckPageFlag(regs_.scratch0(), // Contains value. |
6381 regs_.scratch1(), // Scratch. | 6381 regs_.scratch1(), // Scratch. |
6382 MemoryChunk::kEvacuationCandidateMask, | 6382 MemoryChunk::kEvacuationCandidateMask, |
6383 zero, | 6383 zero, |
6384 &ensure_not_white, | 6384 &ensure_not_white, |
6385 Label::kNear); | 6385 Label::kNear); |
6386 | 6386 |
6387 __ CheckPageFlag(regs_.object(), | 6387 __ CheckPageFlag(regs_.object(), |
6388 regs_.scratch1(), // Scratch. | 6388 regs_.scratch1(), // Scratch. |
6389 MemoryChunk::kEvacuationCandidateOrNewSpaceMask, | 6389 MemoryChunk::kSkipEvacuationSlotsRecordingMask, |
6390 not_zero, | 6390 not_zero, |
6391 &ensure_not_white, | 6391 &ensure_not_white, |
6392 Label::kNear); | 6392 Label::kNear); |
6393 | 6393 |
6394 __ jmp(&need_incremental); | 6394 __ jmp(&need_incremental); |
6395 | 6395 |
6396 __ bind(&ensure_not_white); | 6396 __ bind(&ensure_not_white); |
6397 } | 6397 } |
6398 | 6398 |
6399 // We need an extra register for this, so we push the object register | 6399 // We need an extra register for this, so we push the object register |
(...skipping 21 matching lines...) Expand all Loading... |
6421 | 6421 |
6422 // Fall through when we need to inform the incremental marker. | 6422 // Fall through when we need to inform the incremental marker. |
6423 } | 6423 } |
6424 | 6424 |
6425 | 6425 |
6426 #undef __ | 6426 #undef __ |
6427 | 6427 |
6428 } } // namespace v8::internal | 6428 } } // namespace v8::internal |
6429 | 6429 |
6430 #endif // V8_TARGET_ARCH_IA32 | 6430 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |