Searched refs:AsFunction (Results 1 – 7 of 7) sorted by relevance
/external/v8/src/ |
D | types.cc | 496 FunctionType* this_fun = this->AsFunction(); in SimplyEquals() 497 FunctionType* that_fun = that->AsFunction(); in SimplyEquals() 1233 TypeHandle res = Convert<OtherType>(type->AsFunction()->Result(), region); in Convert() 1234 TypeHandle rcv = Convert<OtherType>(type->AsFunction()->Receiver(), region); in Convert() 1236 res, rcv, type->AsFunction()->Arity(), region); in Convert() 1239 type->AsFunction()->Parameter(i), region); in Convert() 1349 if (!this->AsFunction()->Receiver()->IsAny()) { in PrintTo() 1350 this->AsFunction()->Receiver()->PrintTo(os, dim); in PrintTo() 1354 for (int i = 0; i < this->AsFunction()->Arity(); ++i) { in PrintTo() 1356 this->AsFunction()->Parameter(i)->PrintTo(os, dim); in PrintTo() [all …]
|
D | typing-asm.cc | 193 ->AsFunction(); in VisitFunctionAnnotation() 290 DCHECK(type->AsFunction()->Arity() == 1); in VisitExpressionAnnotation() 292 if (call->arguments()->length() != type->AsFunction()->Arity()) { in VisitExpressionAnnotation() 295 SetResult(expr, type->AsFunction()->Result()); in VisitExpressionAnnotation() 502 Type::FunctionType* type = expr->bounds().upper->AsFunction(); in VisitFunctionLiteral() 926 Type::FunctionType* fun_type = computed_type_->AsFunction(); in VisitCall() 990 Type::FunctionType* fun_type = computed_type_->AsFunction(); in VisitCallNew() 1284 type->AsFunction()->InitParameter(i, Type::Number()); \ in InitializeStdlibSIMD()
|
D | types.h | 510 FunctionType* AsFunction() { return FunctionType::cast(this); } in AsFunction() function
|
/external/v8/test/cctest/ |
D | types-fuzz.h | 210 type->AsFunction()->InitParameter(0, arg); in Function1() 301 for (int i = 0; i < type->AsFunction()->Arity(); ++i) { 303 type->AsFunction()->InitParameter(i, parameter);
|
D | test-types.cc | 551 CHECK_EQ(0, function0->AsFunction()->Arity()); in Function() 552 CHECK_EQ(1, function1->AsFunction()->Arity()); in Function() 553 CHECK_EQ(2, function2->AsFunction()->Arity()); in Function() 554 CheckEqual(type1, function0->AsFunction()->Result()); in Function() 555 CheckEqual(type1, function1->AsFunction()->Result()); in Function() 556 CheckEqual(type1, function2->AsFunction()->Result()); in Function() 557 CheckEqual(type2, function0->AsFunction()->Receiver()); in Function() 558 CheckEqual(type2, function1->AsFunction()->Receiver()); in Function() 559 CheckEqual(T.Any, function2->AsFunction()->Receiver()); in Function() 560 CheckEqual(type3, function1->AsFunction()->Parameter(0)); in Function() [all …]
|
/external/v8/src/wasm/ |
D | asm-wasm-builder.cc | 335 Type::FunctionType* func_type = expr->bounds().lower->AsFunction(); in VisitFunctionLiteral()
|
/external/v8/src/compiler/ |
D | typer.cc | 1491 return fun->AsFunction()->Result(); in JSCallFunctionTyper()
|