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