Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index 1051a9b18f8e5d845cd0f790d43136e8d9436486..1692038f90221e8a195b3cbe31c69f343c2674db 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -514,7 +514,7 @@ |
: SLOPPY_GENERATOR_FUNCTION_MAP_INDEX; |
} |
- if (IsClassConstructor(kind)) { |
+ if (IsConstructor(kind)) { |
// Use strict function map (no own "caller" / "arguments") |
return is_strong(language_mode) ? STRONG_CONSTRUCTOR_MAP_INDEX |
: STRICT_FUNCTION_MAP_INDEX; |