Home
last modified time | relevance | path

Searched refs:IsCallable (Results 1 – 25 of 37) sorted by relevance

12

/external/v8/src/
Dproperty-descriptor.cc97 if (!value->IsCallable()) return false; in ToPropertyDescriptorFastPath()
101 if (!value->IsCallable()) return false; in ToPropertyDescriptorFastPath()
259 if (!getter->IsCallable() && !getter->IsUndefined(isolate)) { in ToPropertyDescriptor()
277 if (!setter->IsCallable() && !setter->IsUndefined(isolate)) { in ToPropertyDescriptor()
Dobjects-debug.cc80 CHECK(!IsConstructor() || IsCallable()); in ObjectVerify()
109 CHECK(!IsCallable()); in SmiVerify()
935 CHECK(IsCallable()); in JSBoundFunctionVerify()
938 CHECK(bound_target_function()->IsCallable()); in JSBoundFunctionVerify()
1247 CHECK(callable()->IsCallable()); in CallableTaskVerify()
1266 CHECK(handler()->IsUndefined(isolate) || handler()->IsCallable()); in PromiseReactionJobTaskVerify()
1293 CHECK(then()->IsCallable()); in PromiseResolveThenableJobTaskVerify()
1315 reject_handler()->IsCallable()); in PromiseReactionVerify()
1318 fulfill_handler()->IsCallable()); in PromiseReactionVerify()
1436 CHECK_EQ(target()->IsCallable(), map()->is_callable()); in JSProxyVerify()
Djson-parser.h46 if (reviver->IsCallable()) { in Parse()
Djson-stringifier.cc257 } else if (replacer->IsCallable()) { in InitializeReplacer()
320 if (!fun->IsCallable()) return object; in ApplyToJsonFunction()
457 if (object->IsCallable()) return UNCHANGED; in Serialize_()
Djson-parser.cc57 DCHECK(reviver->IsCallable()); in Internalize()
Dobjects-inl.h219 bool HeapObject::IsCallable() const { return map()->is_callable(); } in IsCallable() function
2911 return obj->IsCallable() || obj->IsUndefined(); in IsJSAccessor()
Dobjects.cc727 if (object->IsCallable()) return isolate->factory()->function_string(); in TypeOf()
764 if (!callable->IsCallable()) return isolate->factory()->false_value(); in OrdinaryHasInstance()
827 if (!callable->IsCallable()) { in InstanceOf()
851 if (!func->IsCallable()) { in GetMethod()
1595 } else if (getter->IsCallable()) { in GetPropertyWithAccessor()
1705 } else if (setter->IsCallable()) { in SetPropertyWithAccessor()
8849 if (method->IsCallable()) { in OrdinaryToPrimitive()
9192 DCHECK(getter->IsCallable() || getter->IsUndefined(isolate) || in DefineAccessor()
9194 DCHECK(setter->IsCallable() || setter->IsUndefined(isolate) || in DefineAccessor()
16365 if (!then_action->IsCallable()) { in Resolve()
/external/google-fruit/include/fruit/impl/meta/
Dmetaprogramming.h64 struct IsCallable {
163 …using type = If(Not(IsCallable(Type<Function>)), ConstructError(NotALambdaErrorTag, Type<Function>…
/external/v8/src/builtins/
Dbuiltins-proxy-gen.cc34 Branch(IsCallable(target), &callable_target, &none_target); in AllocateProxy()
290 CSA_ASSERT(this, IsCallable(proxy)); in TF_BUILTIN()
345 CSA_ASSERT(this, IsCallable(proxy)); in TF_BUILTIN()
439 GotoIfNot(IsCallable(trap), &trap_not_callable); in TF_BUILTIN()
Dbuiltins-promise-gen.cc177 GotoIfNot(IsCallable(resolve), &if_notcallable); in TF_BUILTIN()
182 GotoIfNot(IsCallable(reject), &if_notcallable); in TF_BUILTIN()
318 Word32Or(IsCallable(on_fulfilled), IsUndefined(on_fulfilled))); in PerformPromiseThen()
319 CSA_ASSERT(this, Word32Or(IsCallable(on_rejected), IsUndefined(on_rejected))); in PerformPromiseThen()
1019 Branch(IsCallable(on_fulfilled), &if_fulfilled_done, in TF_BUILTIN()
1031 Branch(IsCallable(on_rejected), &if_rejected_done, in TF_BUILTIN()
1155 CSA_ASSERT(this, Word32Or(IsUndefined(handler), IsCallable(handler))); in PromiseReactionJob()
1492 CSA_ASSERT(this, IsCallable(on_finally)); in TF_BUILTIN()
1549 CSA_ASSERT(this, IsCallable(on_finally)); in TF_BUILTIN()
1615 GotoIfNot(IsCallable(on_finally), &if_notcallable); in TF_BUILTIN()
Dbuiltins-iterator-gen.cc37 Branch(IsCallable(method), &if_callable, &if_not_callable); in GetIterator()
Dbuiltins-typed-array-gen.cc641 CSA_ASSERT(this, IsCallable(iterator_fn)); in ConstructByIterable()
713 GotoIfNot(IsCallable(CAST(iteratorFn)), &if_iteratornotcallable); in TF_BUILTIN()
1654 GotoIfNot(IsCallable(CAST(map_fn)), &if_map_fn_not_callable); in TF_BUILTIN()
1677 GotoIfNot(IsCallable(CAST(iterator_fn)), &if_iterator_fn_not_callable); in TF_BUILTIN()
1826 GotoIfNot(IsCallable(CAST(callbackfn)), &if_callback_not_callable); in TF_BUILTIN()
Dbuiltins-function.cc208 if (!args.receiver()->IsCallable()) { in DoFunctionBind()
Darray-foreach.tq151 // 3. If IsCallable(callbackfn) is false, throw a TypeError exception.
Dbuiltins-call-gen.cc77 Branch(IsCallable(CAST(target)), &if_target_callable, in CallOrConstructWithArrayLike()
Dbuiltins-object.cc69 if (!accessor->IsCallable()) { in ObjectDefineAccessor()
Dtyped-array.tq259 // 1. If comparefn is not undefined and IsCallable(comparefn) is false,
Dbuiltins-array-gen.cc2037 Branch(IsCallable(CAST(map_function)), &no_error, &error); in TF_BUILTIN()
2074 GotoIfNot(IsCallable(CAST(iterator_method)), &get_method_not_callable); in TF_BUILTIN()
2114 CSA_ASSERT(this, IsCallable(CAST(map_function))); in TF_BUILTIN()
2192 CSA_ASSERT(this, IsCallable(CAST(map_function))); in TF_BUILTIN()
3756 IsCallable(mapper_function))); in FlattenIntoArray()
3938 GotoIfNot(IsCallable(mapper_function), &if_not_callable); in TF_BUILTIN()
Dbuiltins-collections-gen.cc387 GotoIfNot(IsCallable(CAST(add_func)), &if_notcallable); in GetAddFunction()
1567 GotoIfNot(IsCallable(callback), &callback_not_callable); in TF_BUILTIN()
1798 GotoIfNot(IsCallable(callback), &callback_not_callable); in TF_BUILTIN()
Dbuiltins-date.cc916 if (!function->IsCallable()) { in BUILTIN()
Dbase.tq738 extern macro IsCallable(HeapObject): bool;
/external/v8/src/regexp/
Dregexp-utils.cc84 if (exec->IsCallable()) { in RegExpExec()
/external/v8/src/heap/
Dfactory.cc1595 DCHECK(callable->IsCallable()); in NewCallableTask()
1615 DCHECK(then->IsCallable()); in NewPromiseResolveThenableJobTask()
3306 DCHECK(target_function->IsCallable()); in NewJSBoundFunction()
3357 if (target->IsCallable()) { in NewJSProxy()
/external/v8/src/runtime/
Druntime-object.cc791 return obj->IsNullOrUndefined(isolate) || obj->IsCallable(); in IsValidAccessor()
/external/v8/src/compiler/
Djs-native-context-specialization.cc212 if (receiver->IsCallable()) { in ReduceJSInstanceOf()
262 DCHECK(constant->IsCallable()); in ReduceJSInstanceOf()

12