| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index 027517a835ce9b40b71a2b84362b19bcfa2669c9..789c25730d490e6edc12498829edd66bd54c4d9d 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -1351,7 +1351,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.
|
|
|