Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 4a6d125575b811c60342fecc3715f72e8ae0774b..4ebef21c1ca6adcce54eace79178ae2b500002e0 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -2256,7 +2256,7 @@ void FullCodeGenerator::EmitCreateIteratorResult(bool done) { |
Label gc_required; |
Label allocated; |
- Handle<Map> map(isolate()->native_context()->iterator_result_map()); |
+ Handle<Map> map(isolate()->native_context()->generator_result_map()); |
__ Allocate(map->instance_size(), rax, rcx, rdx, &gc_required, TAG_OBJECT); |
__ jmp(&allocated); |