Lines Matching refs:Handle

13 CallOptimization::CallOptimization(Handle<JSFunction> function) {  in CallOptimization()
18 Handle<JSObject> CallOptimization::LookupHolderOfExpectedType( in LookupHolderOfExpectedType()
19 Handle<Map> object_map, HolderLookup* holder_lookup) const { in LookupHolderOfExpectedType()
23 return Handle<JSObject>::null(); in LookupHolderOfExpectedType()
28 return Handle<JSObject>::null(); in LookupHolderOfExpectedType()
32 Handle<JSObject> prototype(JSObject::cast(object_map->prototype())); in LookupHolderOfExpectedType()
41 return Handle<JSObject>::null(); in LookupHolderOfExpectedType()
45 bool CallOptimization::IsCompatibleReceiver(Handle<Object> receiver, in IsCompatibleReceiver()
46 Handle<JSObject> holder) const { in IsCompatibleReceiver()
49 Handle<Map> map(JSObject::cast(*receiver)->map()); in IsCompatibleReceiver()
51 Handle<JSObject> api_holder = LookupHolderOfExpectedType(map, &holder_lookup); in IsCompatibleReceiver()
76 void CallOptimization::Initialize(Handle<JSFunction> function) { in Initialize()
77 constant_function_ = Handle<JSFunction>::null(); in Initialize()
79 expected_receiver_type_ = Handle<FunctionTemplateInfo>::null(); in Initialize()
80 api_call_info_ = Handle<CallHandlerInfo>::null(); in Initialize()
89 void CallOptimization::AnalyzePossibleApiFunction(Handle<JSFunction> function) { in AnalyzePossibleApiFunction()
91 Handle<FunctionTemplateInfo> info(function->shared()->get_api_func_data()); in AnalyzePossibleApiFunction()
96 Handle<CallHandlerInfo>(CallHandlerInfo::cast(info->call_code())); in AnalyzePossibleApiFunction()
101 Handle<SignatureInfo> signature = in AnalyzePossibleApiFunction()
102 Handle<SignatureInfo>(SignatureInfo::cast(info->signature())); in AnalyzePossibleApiFunction()
105 expected_receiver_type_ = Handle<FunctionTemplateInfo>( in AnalyzePossibleApiFunction()