Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 54d5f775acc5926426801a9c2e223ec2d494aff2..bc10fc4b928cda8d76f4954ccccfa1db99c0c0f4 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -2519,7 +2519,7 @@ compiler::Node* FastNewClosureStub::Generate(CodeStubAssembler* assembler, |
assembler->Bind(&if_class_constructor); |
{ |
map_index.Bind( |
- assembler->IntPtrConstant(Context::STRICT_FUNCTION_MAP_INDEX)); |
+ assembler->IntPtrConstant(Context::CLASS_FUNCTION_MAP_INDEX)); |
assembler->Goto(&load_map); |
} |