Index: src/builtins/builtins-constructor.cc |
diff --git a/src/builtins/builtins-constructor.cc b/src/builtins/builtins-constructor.cc |
index 58a6860b0c5cfa6e2f8df004e7cf7cf989bbc06e..032d421063cd052b8c4da5fff21e0cb4e2241046 100644 |
--- a/src/builtins/builtins-constructor.cc |
+++ b/src/builtins/builtins-constructor.cc |
@@ -84,17 +84,13 @@ Node* ConstructorBuiltinsAssembler::EmitFastNewClosure(Node* shared_info, |
Bind(&if_generator); |
{ |
- map_index.Bind(SelectIntPtrConstant( |
- is_strict, Context::STRICT_GENERATOR_FUNCTION_MAP_INDEX, |
- Context::SLOPPY_GENERATOR_FUNCTION_MAP_INDEX)); |
+ map_index.Bind(IntPtrConstant(Context::GENERATOR_FUNCTION_MAP_INDEX)); |
Goto(&load_map); |
} |
Bind(&if_async); |
{ |
- map_index.Bind(SelectIntPtrConstant( |
- is_strict, Context::STRICT_ASYNC_FUNCTION_MAP_INDEX, |
- Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX)); |
+ map_index.Bind(IntPtrConstant(Context::ASYNC_FUNCTION_MAP_INDEX)); |
Goto(&load_map); |
} |