| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index a0ce708f266aaa8e51c123d7d2eff676f01479c2..1e127a7b5ddfb44c90daf0362667c7c342c2882d 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -3782,6 +3782,20 @@ void MacroAssembler::CopyBytes(Register destination,
|
| }
|
|
|
|
|
| +void MacroAssembler::InitializeFieldsWithFiller(Register start_offset,
|
| + Register end_offset,
|
| + Register filler) {
|
| + Label loop, entry;
|
| + jmp(&entry);
|
| + bind(&loop);
|
| + movq(Operand(start_offset, 0), filler);
|
| + addq(start_offset, Immediate(kPointerSize));
|
| + bind(&entry);
|
| + cmpq(start_offset, end_offset);
|
| + j(less, &loop);
|
| +}
|
| +
|
| +
|
| void MacroAssembler::LoadContext(Register dst, int context_chain_length) {
|
| if (context_chain_length > 0) {
|
| // Move up the chain of contexts to the context containing the slot.
|
|
|