Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 4dbd881adfde49da613975e7a75e39e3e0a38d10..1b9f5a8e84b690e4c746f5dc4c94d7251ad4f9c6 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -5551,7 +5551,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); |
} |