Chromium Code Reviews| Index: src/x64/builtins-x64.cc |
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
| index 8baa2f32ff28eaffbf0c474ad4f27a84c633fba5..c048c2edaad0515aeeee76e6063b1bf2e14050c5 100644 |
| --- a/src/x64/builtins-x64.cc |
| +++ b/src/x64/builtins-x64.cc |
| @@ -1075,6 +1075,7 @@ static void AllocateEmptyJSArray(MacroAssembler* masm, |
| } |
| } else { |
| Label loop, entry; |
| + __ addq(scratch1, Immediate(FixedArray::kHeaderSize - kHeapObjectTag)); |
|
Kevin Millikin (Chromium)
2011/10/27 10:35:54
No need to untag here. Could use a counted loop s
|
| __ jmp(&entry); |
| __ bind(&loop); |
| __ movq(Operand(scratch1, 0), scratch3); |