Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index 83510e93c94afff1923c3c75284ab2e0a7a76761..f932c60092dcba78b2b3818422bc20ef044769ea 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -574,7 +574,8 @@ class Context: public FixedArray { |
: SLOPPY_GENERATOR_FUNCTION_MAP_INDEX; |
} |
- if (IsArrowFunction(kind) || IsConciseMethod(kind)) { |
+ if (IsArrowFunction(kind) || IsConciseMethod(kind) || |
+ IsAccessorFunction(kind)) { |
return is_strict(language_mode) |
? STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX |
: SLOPPY_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX; |