Chromium Code Reviews| Index: src/contexts.h |
| diff --git a/src/contexts.h b/src/contexts.h |
| index 267fdea70b31db01e1fa87cba3421d770882c311..5bf401b10379a4b118b7f4cf7f9d26c43b03b0a1 100644 |
| --- a/src/contexts.h |
| +++ b/src/contexts.h |
| @@ -513,7 +513,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; |