| Index: src/api-natives.cc
|
| diff --git a/src/api-natives.cc b/src/api-natives.cc
|
| index a62c231ceb229586791f2aefa61e924cb19b9390..0a3bc17140740db632c552ce6d68c65034b8b93f 100644
|
| --- a/src/api-natives.cc
|
| +++ b/src/api-natives.cc
|
| @@ -494,6 +494,7 @@ Handle<JSFunction> ApiNatives::CreateApiFunction(
|
| // Mark instance as callable in the map.
|
| if (!obj->instance_call_handler()->IsUndefined()) {
|
| map->set_is_callable();
|
| + map->set_is_constructor(true);
|
| }
|
|
|
| // Recursively copy parent instance templates' accessors,
|
|
|