Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index aee3c8c018d48e18e12c03e27becf4a128533915..0eca0a1faf415306ee198412cccb31525deb2dbd 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1836,7 +1836,8 @@ void FullCodeGenerator::EmitOperandStackDepthCheck() { |
void FullCodeGenerator::EmitCreateIteratorResult(bool done) { |
Label allocate, done_allocate; |
- __ Allocate(JSIteratorResult::kSize, rax, rcx, rdx, &allocate, TAG_OBJECT); |
+ __ Allocate(JSIteratorResult::kSize, rax, rcx, rdx, &allocate, |
+ NO_ALLOCATION_FLAGS); |
__ jmp(&done_allocate, Label::kNear); |
__ bind(&allocate); |
@@ -3083,7 +3084,8 @@ void FullCodeGenerator::EmitCreateIterResultObject(CallRuntime* expr) { |
Label runtime, done; |
- __ Allocate(JSIteratorResult::kSize, rax, rcx, rdx, &runtime, TAG_OBJECT); |
+ __ Allocate(JSIteratorResult::kSize, rax, rcx, rdx, &runtime, |
+ NO_ALLOCATION_FLAGS); |
__ LoadNativeContextSlot(Context::ITERATOR_RESULT_MAP_INDEX, rbx); |
__ movp(FieldOperand(rax, HeapObject::kMapOffset), rbx); |
__ LoadRoot(rbx, Heap::kEmptyFixedArrayRootIndex); |