| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index e3261a38d7fe06ebae1b8eb1df438f5b2f4f47e1..57bf1e89cb4a19de38d5e4cb07f38194e6c95d6a 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -1343,7 +1343,7 @@ HValue* CodeStubGraphBuilder<FastNewClosureStub>::BuildCodeStub() {
|
| NOT_TENURED, JS_FUNCTION_TYPE);
|
|
|
| int map_index = Context::FunctionMapIndex(casted_stub()->strict_mode(),
|
| - casted_stub()->is_generator());
|
| + casted_stub()->kind());
|
|
|
| // Compute the function map in the current native context and set that
|
| // as the map of the allocated object.
|
|
|