Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 44ffc29b4e8980532632fd99c426f9415da3052b..c39ca97ac7f34ccd643bbd601c96a5a4725588e0 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -2264,7 +2264,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); |