Home
last modified time | relevance | path

Searched refs:AsFunction (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/v8/src/
Dtypes.cc415 FunctionType* this_fun = this->AsFunction(); in SimplyEquals()
416 FunctionType* that_fun = that->AsFunction(); in SimplyEquals()
962 TypeHandle res = Convert<OtherType>(type->AsFunction()->Result(), region); in Convert()
963 TypeHandle rcv = Convert<OtherType>(type->AsFunction()->Receiver(), region); in Convert()
965 res, rcv, type->AsFunction()->Arity(), region); in Convert()
968 type->AsFunction()->Parameter(i), region); in Convert()
1072 if (!this->AsFunction()->Receiver()->IsAny()) { in PrintTo()
1073 this->AsFunction()->Receiver()->PrintTo(os, dim); in PrintTo()
1077 for (int i = 0; i < this->AsFunction()->Arity(); ++i) { in PrintTo()
1079 this->AsFunction()->Parameter(i)->PrintTo(os, dim); in PrintTo()
[all …]
Dtypes.h447 FunctionType* AsFunction() { return FunctionType::cast(this); } in AsFunction() function
/external/chromium_org/v8/test/cctest/
Dtest-types.cc237 type->AsFunction()->InitParameter(0, arg); in Function1()
308 for (int i = 0; i < type->AsFunction()->Arity(); ++i) { in Fuzz()
310 type->AsFunction()->InitParameter(i, parameter); in Fuzz()
677 CHECK_EQ(0, function0->AsFunction()->Arity()); in Function()
678 CHECK_EQ(1, function1->AsFunction()->Arity()); in Function()
679 CHECK_EQ(2, function2->AsFunction()->Arity()); in Function()
680 CheckEqual(type1, function0->AsFunction()->Result()); in Function()
681 CheckEqual(type1, function1->AsFunction()->Result()); in Function()
682 CheckEqual(type1, function2->AsFunction()->Result()); in Function()
683 CheckEqual(type2, function0->AsFunction()->Receiver()); in Function()
[all …]
/external/chromium_org/v8/src/compiler/
Dtyper.cc629 ? fun.lower->AsFunction()->Result() : Type::None(zone()); in TypeJSCallFunction()
631 ? fun.upper->AsFunction()->Result() : Type::Any(zone()); in TypeJSCallFunction()