Chromium Code Reviews| Index: src/contexts.h |
| diff --git a/src/contexts.h b/src/contexts.h |
| index 5d4c8ac1647ac63f862637e7afee918e0d97a621..985cdb0fe8c370dfe953899b0f5ca6baa703495d 100644 |
| --- a/src/contexts.h |
| +++ b/src/contexts.h |
| @@ -638,7 +638,7 @@ class Context: public FixedArray { |
| } |
| static int FunctionMapIndex(LanguageMode language_mode, FunctionKind kind) { |
| - // Note: Must be kept in sync with FastNewClosureStub::Generate. |
| + // Note: Must be kept in sync with the FastNewClosureStub builtin. |
|
danno
2016/12/28 09:11:45
nit: Remove Stub
mvstanton
2016/12/28 09:29:23
Done.
|
| if (IsGeneratorFunction(kind)) { |
| return is_strict(language_mode) ? STRICT_GENERATOR_FUNCTION_MAP_INDEX |
| : SLOPPY_GENERATOR_FUNCTION_MAP_INDEX; |