| Index: src/api-natives.cc
|
| diff --git a/src/api-natives.cc b/src/api-natives.cc
|
| index 6f179b9d39eb89306377eff78742c53fc6383b1c..a62c231ceb229586791f2aefa61e924cb19b9390 100644
|
| --- a/src/api-natives.cc
|
| +++ b/src/api-natives.cc
|
| @@ -491,9 +491,9 @@ Handle<JSFunction> ApiNatives::CreateApiFunction(
|
| map->set_has_indexed_interceptor();
|
| }
|
|
|
| - // Set instance call-as-function information in the map.
|
| + // Mark instance as callable in the map.
|
| if (!obj->instance_call_handler()->IsUndefined()) {
|
| - map->set_has_instance_call_handler();
|
| + map->set_is_callable();
|
| }
|
|
|
| // Recursively copy parent instance templates' accessors,
|
|
|